TIP: You can type at any time to perform a new search.
Extended Leave Days Computation
hr_holidays_compute_days · OCA/hr
- Repository
- OCA/hr · module folder · Try on Runboat
- Module version
- 1.2.1
- Category
- Human Resources
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/hr
- Last tracking update
- 2026-08-07 07:24:59
- Authors
- Odoo Community Association (OCA), Tecnativa, iDT LABS
- Maintainers
- Odoo Community Association (OCA), Tecnativa, iDT LABS
- Committers
- Pedro M. Baeza, GitHub, OCA Transbot, OCA-git-bot, oca-travis, gprina
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_new |
Leave Request - Add full day + hide nº of days + show related readonly | hr.holidays | Inherits hr_holidays.edit_holiday_new | |
edit_holiday_new_manager |
Leave Request - # of days editable for manager | hr.holidays | Inherits edit_holiday_new | |
edit_holiday_status_form |
hr.holidays.status.form - Add compute fields | hr.holidays.status | form | Inherits hr_holidays.edit_holiday_status_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (1)-
get_day_work_hours_count(self, day_date, calendar=None)Return 24 as work hours when detecting through context and weekday that the day passed is one of the rest days.
New fields (4)
-
date_from_fullDatecompute='_compute_date_from_full'inverse='_inverse_date_from_full'readonly=Truestates={'draft': [('readonly', False)], 'confirm': [('readonly', False)]} -
date_to_fullDatecompute='_compute_date_to_full'inverse='_inverse_date_to_full'readonly=Truestates={'draft': [('readonly', False)], 'confirm': [('readonly', False)]} -
from_full_dayBooleancopy=Falsedefault=<expr>readonly=Truestates={'draft': [('readonly', False)], 'confirm': [('readonly', False)]} -
to_full_dayBooleancopy=Falsedefault=<expr>readonly=Truestates={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
No public methods.
New fields (2)
-
compute_full_daysBooleandefault=Truehelp='If enabled, the number of days computed will be always for the full days in the interval'string='Compute Full Days' -
exclude_rest_daysBooleandefault=Truehelp="If enabled, the employee's day off is skipped in leave days calculation."string='Exclude Rest Days'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…