HR Holidays Public
hr_holidays_public · OCA/hr-holidays
Replaces
hr_public_holidays (11.0)OCA/hr 11.0–12.0 → OCA/hr-holidays 13.0–19.0
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis
0 migration notes
6 models
1 view
0 HTTP endpoints
Description
The calculation of each leave can exclude rest public holiday, depending on the leave type configuration.
In HR holiday app, public holiday will be displayed as unusual days (grey like weekends).
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 6
New fields (1)
-
is_public_holidayBooleancompute='_compute_is_public_holiday'string='Public Holiday Today'
-
get_public_holidays_data(self, date_start, date_end)@api.model
New fields (0)
No new fields.
Public methods (1)-
get_unusual_days(self, date_from, date_to=None)@api.model
New fields (1)
-
exclude_public_holidaysBooleandefault=Truehelp='If enabled, public holidays are skipped in leave days calculation.'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…