Repository
OCA/l10n-ethiopia · module folder · Try on Runboat
Module version
1.0.1
Category
Localization
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/trevi-software/trevi-hr
Last tracking update
2026-08-07 07:47:48
Authors
TREVI Software
Maintainers
TREVI Software
Committers
Michael Telahun Makonnen, OCA-git-bot
Odoo dependencies
OCA/l10n-ethiopia:
OCA/reporting-engine:
odoo/odoo:
- hr
- web
- bus
Python dependencies
mpmath, py3o.formats, py3o.template
System dependencies
libreoffice
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
edit_holiday_status_form_02 hr.leave.type.form.inherit.ethiopic hr.leave.type form Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form_02 Leave Request l10n_et hr.leave form Inherits hr_holidays.hr_leave_view_form
hr_leave_view_tree_02 hr.holidays.view.tree.l10n_et hr.leave tree Inherits hr_holidays.hr_leave_view_tree
view_holiday_status_normal_tree_02 hr.leave.type.inherit.ethiopic.tree hr.leave.type tree Inherits hr_holidays.view_holiday_status_normal_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (8)
  • available_leave_days Float
    compute='_compute_available_leave_days' help='Number of available leave days for the employee' readonly=True tracking=False args: 'Available Leave Days'
  • local_date_from Datetime
    compute='_localize_date_from_to' args: 'Local Date From'
  • local_date_to Datetime
    compute='_localize_date_from_to' args: 'Local Date To'
  • public_holiday_days Float
    compute='_compute_public_holiday_days' copy=False help='Number of public holidays in the time off request' readonly=False store=True tracking=True args: 'Public Holiday (Days)'
  • real_days Float
    compute='_compute_real_days' copy=False help='Number of actual days, including holidays and days off, in the time off request' readonly=False store=True tracking=True args: 'Real (Days)'
  • rest_days Float
    compute='_compute_rest_days' copy=False help='Number of rest days of the time off request' readonly=False store=True tracking=True args: 'Rest (Days)'
  • return_date_et Char
    args: 'Ethiopic Return Date'
  • taken_leave_days Float
    compute='_compute_taken_leave_days' help='Number of available leave days for the employee' readonly=True tracking=False args: 'Taken Leave Days'
Public methods (7)
  • format_date(self, date_str)
    @api.model
  • format_date_et(self, date_str)
    @api.model
  • get_hrm(self)
    @api.model
  • get_remaining_leaves(self, leave)
    @api.model
  • get_taken_leaves(self, leave)
    @api.model
  • onchange_enddate(self)
    @api.onchange('date_to')
  • time2ethiopic(self, year, month, day)
    @api.model

New fields (1)
  • ethiopic_name Char
Public methods (1)
  • get_remaining_days_by_employee(self, employee_id)