| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr |
| GIT | |
| GIT | https://github.com/OCA/hr.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr/tree/11.0/hr_holidays_compute_days |
| VERSION | |
| VERSION | 1.2.1 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), iDT LABS |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), iDT LABS |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, GitHub, OCA Transbot, oca-travis, OCA-git-bot, gprina |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:23:58 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - hr_holidays - hr - base_setup - base - web - bus - web_tour - resource - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_new |
Leave Request - Add full day + hide nº of days + show related readonly | hr.holidays | field | Inherits hr_holidays.edit_holiday_new |
edit_holiday_new_manager |
Leave Request - # of days editable for manager | hr.holidays | field | Inherits edit_holiday_new |
edit_holiday_status_form |
hr.holidays.status.form - Add compute fields | hr.holidays.status | xpath | Inherits hr_holidays.edit_holiday_status_form |
No new fields.
Public methods (1)get_day_work_hours_count(self, day_date, calendar=None)
date_from_full
Date
compute='_compute_date_from_full'
inverse='_inverse_date_from_full'
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
date_to_full
Date
compute='_compute_date_to_full'
inverse='_inverse_date_to_full'
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
from_full_day
Boolean
copy=False
default=<expr>
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
to_full_day
Boolean
copy=False
default=<expr>
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
No public methods.
compute_full_days
Boolean
default=True
help='If enabled, the number of days computed will be always for the full days in the interval'
string='Compute Full Days'
exclude_rest_days
Boolean
default=True
help="If enabled, the employee's day off is skipped in leave days calculation."
string='Exclude Rest Days'
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr |
| GIT | |
| GIT | https://github.com/OCA/hr.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr/tree/10.0/hr_holidays_compute_days |
| VERSION | |
| VERSION | 3.1.1 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), iDT LABS |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), iDT LABS |
| COMMITTERS | |
| COMMITTERS | Alexandre Fayolle, Pedro M. Baeza, GitHub, Andrea, OCA Transbot, oca-travis, OCA-git-bot, rpirard |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:19:57 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/hr: - hr_public_holidays odoo/odoo: - hr_holidays - hr - base_setup - base - web_kanban - web - bus - web_tour - resource - calendar - base_action_rule - web_calendar - product - decimal_precision - report |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_new |
Leave Request - Add full day + hide nº of days + show related readonly | hr.holidays | field | Inherits hr_holidays.edit_holiday_new |
edit_holiday_new_manager |
Leave Request - # of days editable for manager | hr.holidays | field | Inherits edit_holiday_new |
edit_holiday_status_form |
hr.holidays.status.form - Add compute fields | hr.holidays.status | xpath | Inherits hr_holidays.edit_holiday_status_form |
No new fields.
Public methods (1)get_work_days_count(self, from_datetime, to_datetime, calendar=None)
date_from_full
Date
compute='_compute_date_from_full'
inverse='_inverse_date_from_full'
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
date_to_full
Date
compute='_compute_date_to_full'
inverse='_inverse_date_to_full'
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
from_full_day
Boolean
copy=False
default=<expr>
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
number_of_days_temp_related
Float
readonly=True
related='number_of_days_temp'
to_full_day
Boolean
copy=False
default=<expr>
readonly=True
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]}
No public methods.
compute_full_days
Boolean
default=True
help='If enabled, the number of days computed will be always for the full days in the interval'
string='Compute Full Days'
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
string='Exclude Public Holidays'
exclude_rest_days
Boolean
default=True
help="If enabled, the employee's day off is skipped in leave days calculation."
string='Exclude Rest Days'
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr |
| GIT | |
| GIT | https://github.com/OCA/hr.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr/tree/9.0/hr_holidays_compute_days |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp SA, iDT LABS |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp SA, iDT LABS |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Damien Crier, oca-travis, Stephan Rozendaal |
| WEBSITE | |
| WEBSITE | http://idtlabs.sl |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:21 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/hr: - hr_public_holidays odoo/odoo: - hr - base_setup - base - web_kanban - web - bus - resource - web_tip - hr_contract - base_action_rule - hr_holidays - calendar - web_calendar - report |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_new |
Leave Request (hr_holidays_working_time) | hr.holidays | field | Inherits hr_holidays.edit_holiday_new |
edit_holiday_status_form |
hr.holidays.status.form | hr.holidays.status | data | Inherits hr_holidays.edit_holiday_status_form |
No new fields.
Public methods (1)work_scheduled_on_day(self, date_dt, public_holiday=True, schedule=True)
No new fields.
Public methods (3)onchange_date_from(self, date_to, date_from)
onchange_date_to(self, date_to, date_from)
onchange_employee(self, employee_id)
exclude_public_holidays
Boolean
help='If enabled, public holidays are skipped in leave days calculation.'
args: 'Exclude Public Holidays'
exclude_rest_days
Boolean
help="If enabled, the employee's day off is skipped in leave days calculation."
args: 'Exclude Rest Days'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr |
| GIT | |
| GIT | https://github.com/OCA/hr.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr/tree/8.0/hr_holidays_compute_days |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), iDT LABS |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), iDT LABS |
| COMMITTERS | |
| COMMITTERS | Fekete Mihai, Stéphane Bidoul (ACSONE), OCA Transbot, Moises Lopez - https://www.vauxoo.com/, oca-travis |
| WEBSITE | |
| WEBSITE | http://idtlabs.sl |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:11:23 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/hr: - hr_public_holidays odoo/odoo: - hr - base_setup - base - web_kanban - web - resource - board - hr_contract - base_action_rule - hr_holidays - calendar - web_calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_new |
Leave Request (hr_holidays_working_time) | hr.holidays | field | Inherits hr_holidays.edit_holiday_new |
edit_holiday_status_form |
hr.holidays.status.form | hr.holidays.status | data | Inherits hr_holidays.edit_holiday_status_form |
No new fields.
Public methods (1)work_scheduled_on_day(self, date_dt, public_holiday=True, schedule=True)
No new fields.
Public methods (3)onchange_date_from(self, date_to, date_from)
onchange_date_to(self, date_to, date_from)
onchange_employee(self, employee_id)
exclude_public_holidays
Boolean
help='If enabled, public holidays are skipped in leave days calculation.'
args: 'Exclude Public Holidays'
exclude_rest_days
Boolean
help="If enabled, the employee's day off is skipped in leave days calculation."
args: 'Exclude Rest Days'
No public methods.