Leave Credit
hr_holidays_credit · OCA/hr-holidays
OCA/hr 12.0 → OCA/hr-holidays 13.0–14.0
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 61 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
2 migration notes
2 models
1 view
0 HTTP endpoints
Migration considerations
HrLeaveType— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceedit_holiday_status_form— 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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_status_form |
hr.leave.type.form | hr.leave.type | form | Inherits hr_holidays.edit_holiday_status_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (4)
-
allow_creditBooleanhelp='If set to true, employees would be able to make requests for this leave type even if allocated amount is insufficient.'string='Allow Credit' -
creditable_department_idsMany2many → hr.departmentcomodel_name='hr.department'help='If set, limits credit allowance to employees of specified departments'string='Creditable Departments' -
creditable_employee_category_idsMany2many → hr.employee.categorycomodel_name='hr.employee.category'help='If set, limits credit allowance to employees with at least one of specified tags'string='Creditable Employee Tags' -
creditable_employee_idsMany2many → hr.employeecomodel_name='hr.employee'help='If set, limits credit allowance to specified employees'string='Creditable Employees'
-
name_get(self)
Loading…
Loading…
Loading…