| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/19.0/hr_holidays_public |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Cuong, Nguyen Minh Tran Manh, namtnt |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:40:49 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/calendar: - calendar_public_holiday odoo/odoo: - hr_holidays - hr - base_setup - base - web - digest - bus - web_tour - html_editor - portal - http_routing - auth_signup - resource - phone_validation - resource_mail - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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). |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
is_public_holiday
Boolean
compute='_compute_is_public_holiday'
string='Public Holiday Today'
get_public_holidays_data(self, date_start, date_end)
No new fields.
Public methods (1)get_unusual_days(self, date_from, date_to=None)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/18.0/hr_holidays_public |
| VERSION | |
| VERSION | 1.0.6 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Akim Juillerat, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, LauraCForgeFlow, Duy (Đỗ Anh), David Jaen |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:16 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/calendar: - calendar_public_holiday odoo/odoo: - hr_holidays - hr - base_setup - base - web - digest - bus - web_tour - html_editor - portal - web_editor - http_routing - auth_signup - resource - phone_validation - resource_mail - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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). |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
No new fields.
Public methods (1)get_public_holidays_data(self, date_start, date_end)
is_public_holiday
Boolean
compute='_compute_is_public_holiday'
string='Public Holiday Today'
No public methods.
No new fields.
Public methods (2)action_validate(self, check_state=True)
get_unusual_days(self, date_from, date_to=None)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/17.0/hr_holidays_public |
| VERSION | |
| VERSION | 1.0.11 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, David Alonso, Pierre Verkest, Víctor Martínez, Weblate, OCA-git-bot, David, oca-ci, LauraCForgeFlow, Duy (Đỗ Anh), chien, thaolt, David Jaen |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:08 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - hr_holidays - hr - base_setup - base - web - phone_validation - bus - web_tour - resource - calendar - onboarding |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module handles public holidays. 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). |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
No new fields.
Public methods (1)get_public_holidays_data(self, date_start, date_end)
is_public_holiday
Boolean
compute='_compute_is_public_holiday'
string='Public Holiday Today'
No public methods.
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year=None, start_dt=None, end_dt=None, employee_id=None)
is_public_holiday(self, selected_date, employee_id=None)
date
Date
required=True
meeting_id
Many2one → calendar.event
copy=False
string='Meeting'
args: 'calendar.event'
name
Char
required=True
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
args: 'Date may change'
year_id
Many2one → hr.holidays.public
ondelete='cascade'
required=True
args: 'hr.holidays.public', 'Calendar Year'
create(self, vals_list)
unlink(self)
No new fields.
Public methods (2)action_validate(self)
get_unusual_days(self, date_from, date_to=None)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
No public methods.
template_ids
Many2many → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template. If not set, latest public holidays of each country will be used. Only the last templates of each country for each year will be taken into account (If you select templates from 2012 and 2015, only the templates from 2015 will be taken into account.'
string='Templates'
year
Integer
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_public |
| VERSION | |
| VERSION | 2.0.6 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Akim Juillerat, sbejaoui, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Maksym Yankin, David Alonso // Solvos, LauraCForgeFlow, josep-tecnativa, Moctar Diallo |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:53 |
| 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_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
is_public_holiday
Boolean
compute='_compute_is_public_holiday'
string='Public Holiday Today'
No public methods.
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year=None, start_dt=None, end_dt=None, employee_id=None, partner_id=None)
is_public_holiday(self, selected_date, employee_id=None, partner_id=None)
name_get(self)
date
Date
required=True
meeting_id
Many2one → calendar.event
copy=False
string='Meeting'
args: 'calendar.event'
name
Char
required=True
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
args: 'Date may change'
year_id
Many2one → hr.holidays.public
ondelete='cascade'
required=True
args: 'hr.holidays.public', 'Calendar Year'
create(self, vals_list)
unlink(self)
No new fields.
Public methods (2)action_validate(self)
get_unusual_days(self, date_from, date_to=None)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
No public methods.
template_ids
Many2many → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template. If not set, latest public holidays of each country will be used. Only the last templates of each country for each year will be taken into account (If you select templates from 2012 and 2015, only the templates from 2015 will be taken into account.'
string='Templates'
year
Integer
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/15.0/hr_holidays_public |
| VERSION | |
| VERSION | 1.1.7 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Alexandre Fayolle, Daniel Reis, OCA Transbot, sergio-teruel, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, David Alonso // Solvos, Cesar Andres Sanchez, josep-tecnativa, Pedro Evaristo Gonzalez Sanchez |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:39 |
| 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_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year=None, start_dt=None, end_dt=None, employee_id=None)
is_public_holiday(self, selected_date, employee_id=None)
name_get(self)
date
Date
required=True
meeting_id
Many2one → calendar.event
copy=False
string='Meeting'
args: 'calendar.event'
name
Char
required=True
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
args: 'Date may change'
year_id
Many2one → hr.holidays.public
ondelete='cascade'
required=True
args: 'hr.holidays.public', 'Calendar Year'
create(self, vals_list)
unlink(self)
No new fields.
Public methods (2)action_validate(self)
get_unusual_days(self, date_from, date_to=None)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
No public methods.
template_ids
Many2many → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template. If not set, latest public holidays of each country will be used. Only the last templates of each country for each year will be taken into account (If you select templates from 2012 and 2015, only the templates from 2015 will be taken into account.'
string='Templates'
year
Integer
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/14.0/hr_holidays_public |
| VERSION | |
| VERSION | 2.1.3 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, GitHub, Enric Tobella, Ivàn Todorovich, Yann Papouin, Pierre Verkest, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, oca-ci, Telmo Santos, dsolanki, Cesar Andres Sanchez, fshah, Kevin Luna, Dario Del Zozzo |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:41:07 |
| 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_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year=None, start_dt=None, end_dt=None, employee_id=None)
is_public_holiday(self, selected_date, employee_id=None)
name_get(self)
date
Date
required=True
args: 'Date'
meeting_id
Many2one → calendar.event
copy=False
string='Meeting'
args: 'calendar.event'
name
Char
required=True
args: 'Name'
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
args: 'Date may change'
year_id
Many2one → hr.holidays.public
ondelete='cascade'
required=True
args: 'hr.holidays.public', 'Calendar Year'
create(self, values)
unlink(self)
No new fields.
Public methods (2)action_validate(self)
get_unusual_days(self, date_from, date_to=None)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
string='Exclude Public Holidays'
No public methods.
template_ids
Many2many → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template. If not set, latest public holidays of each country will be used. Only the last templates of each country for each year will be taken into account (If you select templates from 2012 and 2015, only the templates from 2015 will be taken into account.'
string='Templates'
year
Integer
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr-holidays |
| GIT | |
| GIT | https://github.com/OCA/hr-holidays.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr-holidays/tree/13.0/hr_holidays_public |
| VERSION | |
| VERSION | 3.0.6 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, mreficent, Ivàn Todorovich, Alexey Pelykh, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Cesar Andres Sanchez, ernestotejeda |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr-holidays |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:17 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - hr_holidays - hr - base_setup - base - web - bus - web_tour - resource - mail_bot - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year=None, start_dt=None, end_dt=None, employee_id=None)
is_public_holiday(self, selected_date, employee_id=None)
name_get(self)
date
Date
required=True
args: 'Date'
meeting_id
Many2one → calendar.event
copy=False
string='Meeting'
args: 'calendar.event'
name
Char
required=True
args: 'Name'
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
args: 'Date may change'
year_id
Many2one → hr.holidays.public
ondelete='cascade'
required=True
args: 'hr.holidays.public', 'Calendar Year'
create(self, values)
unlink(self)
No new fields.
Public methods (0)No public methods.
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
string='Exclude Public Holidays'
No public methods.
template_ids
Many2many → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template. If not set, latest public holidays of each country will be used. Only the last templates of each country for each year will be taken into account (If you select templates from 2012 and 2015, only the templates from 2015 will be taken into account.'
string='Templates'
year
Integer
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
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/12.0/hr_holidays_public |
| VERSION | |
| VERSION | 1.1.3 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Druidoo, Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | david, Uku Lagle, Patrick Tombez, Alexey Pelykh, Francesco Apruzzese, OCA Transbot, Damien Crier, oca-travis, Weblate, OCA-git-bot, Iván Todorovich, Jaime Arroyo, cpatel, Simon Maillard |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:19 |
| 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_status_form |
hr.leave.type.form | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year, employee_id=None)
is_public_holiday(self, selected_date, employee_id=None)
name_get(self)
date
Date
required=True
args: 'Date'
meeting_id
Many2one → calendar.event
string='Meeting'
args: 'calendar.event'
name
Char
required=True
args: 'Name'
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
oldname='variable'
args: 'Date may change'
year_id
Many2one → hr.holidays.public
ondelete='cascade'
required=True
args: 'hr.holidays.public', 'Calendar Year'
create(self, values)
unlink(self)
date
Date
string='Date'
line_id
Many2one → hr.holidays.public.line
name
Char
string='Description'
state_ids
Many2many → res.country.state
readonly=True
args: 'res.country.state'
wizard_id
Many2one → public.holidays.next.year.wizard
No public methods.
No new fields.
Public methods (0)No public methods.
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
string='Exclude Public Holidays'
No public methods.
country_id
Many2one → res.country
related='template_id.country_id'
string='Country'
args: 'res.country'
pending_lines
One2many → hr.holidays.public.line.transient
inverse_name='wizard_id'
args: 'hr.holidays.public.line.transient'
template_id
Many2one → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template.'
string='Template'
warning_existing
Boolean
compute='_compute_warning_existing'
store=True
year
Integer
default=<expr>
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
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/11.0/hr_holidays_public |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), Michael Telahun Makonnen, Fekete Mihai (Forest and Biomass Services Romania) |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, GitHub, Luis Torres, Enric Tobella, OCA Transbot, oca-travis, OCA-git-bot |
| 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_status_form |
hr.holidays.status.form - Add compute fields | hr.holidays.status | xpath | Inherits hr_holidays.edit_holiday_status_form |
holidays_public_next_year_wizard_view |
Create Next Year Public Holidays | public.holidays.next.year.wizard | form | New |
hr_holidays_public_generator_view |
hr.holidays.public.generator.view | hr.holidays.public.generator | form | New |
view_holidays_public_form |
hr.holidays.public.form | hr.holidays.public | form | New |
view_holidays_public_tree |
hr.holidays.public.tree | hr.holidays.public | tree | New |
No new fields.
Public methods (0)No public methods.
country_id
Many2one → res.country
display_name
Char
compute='_compute_display_name'
readonly=True
store=True
args: 'Name'
line_ids
One2many → hr.holidays.public.line
year
Integer
default=date.today().year
required=True
args: 'Calendar Year'
get_holidays_list(self, year, employee_id=None)
is_public_holiday(self, selected_date, employee_id=None)
name_get(self)
country_id
Many2one → res.country
domain=[('code', 'in', COUNTRY_GENERATORS)]
required=True
string='Country'
args: 'res.country'
state_id
Many2one → res.country.state
string='State'
args: 'res.country.state'
template_id
Many2one → hr.holidays.public
string='From Template'
args: 'hr.holidays.public'
year
Integer
default=<expr>
required=True
args: 'Year'
action_run(self)
generate_function_copy_name(self)
generate_function_generate_name(self)
onchange_template_id(self)
date
Date
required=True
args: 'Date'
name
Char
required=True
args: 'Name'
state_ids
Many2many → res.country.state
variable_date
Boolean
default=True
oldname='variable'
args: 'Date may change'
year_id
Many2one → hr.holidays.public
required=True
args: 'hr.holidays.public', 'Calendar Year'
onchange_date(self)
exclude_public_holidays
Boolean
default=True
help='If enabled, public holidays are skipped in leave days calculation.'
string='Exclude Public Holidays'
No public methods.
template_ids
Many2many → hr.holidays.public
comodel_name='hr.holidays.public'
help='Select the public holidays to use as template. If not set, latest public holidays of each country will be used. Only the last templates of each country for each year will be taken into account (If you select templates from 2012 and 2015, only the templates from 2015 will be taken into account.'
string='Templates'
year
Integer
help='Year for which you want to create the public holidays. By default, the year following the template.'
create_public_holidays(self)
No new fields.
Public methods (0)No public methods.