Ethiopia - Individual Leave Report
l10n_et_report_hr_leave · OCA/l10n-ethiopia
Health
55/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
hr_leave_view_form_02— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_daysFloatcompute='_compute_available_leave_days'help='Number of available leave days for the employee'readonly=Truetracking=False args: 'Available Leave Days' -
local_date_fromDatetimecompute='_localize_date_from_to' args: 'Local Date From' -
local_date_toDatetimecompute='_localize_date_from_to' args: 'Local Date To' -
public_holiday_daysFloatcompute='_compute_public_holiday_days'copy=Falsehelp='Number of public holidays in the time off request'readonly=Falsestore=Truetracking=True args: 'Public Holiday (Days)' -
real_daysFloatcompute='_compute_real_days'copy=Falsehelp='Number of actual days, including holidays and days off, in the time off request'readonly=Falsestore=Truetracking=True args: 'Real (Days)' -
rest_daysFloatcompute='_compute_rest_days'copy=Falsehelp='Number of rest days of the time off request'readonly=Falsestore=Truetracking=True args: 'Rest (Days)' -
return_date_etCharargs: 'Ethiopic Return Date' -
taken_leave_daysFloatcompute='_compute_taken_leave_days'help='Number of available leave days for the employee'readonly=Truetracking=False args: 'Taken Leave Days'
-
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_nameChar
-
get_remaining_days_by_employee(self, employee_id)