Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
3 pip · 1 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 1 migration note 2 models 4 views 0 HTTP endpoints

Description

Dependencies

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

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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)