Holidays natural period

hr_holidays_natural_period
REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/19.0/hr_holidays_natural_period
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, cristina-hidalgo-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to define natural day and  natural day (Half Day) options in request unit on holidays type.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hr_leave_view_form hr.leave.view.form hr.leave xpath Inherits hr_holidays.hr_leave_view_form
Models touched (5)

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 (1)
  • type_request_unit Selection
    selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (1)
  • request_unit Selection
    ondelete={'natural_day': 'set default', 'natural_day_half_day': 'set default'} selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/18.0/hr_holidays_natural_period
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Víctor Martínez, Alexandre D. Díaz, Weblate, OCA-git-bot, oca-ci, LauraCForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to define natural day and  natural day (Half Day) options in request unit on holidays type.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hr_leave_view_form hr.leave.view.form hr.leave label Inherits hr_holidays.hr_leave_view_form
Models touched (5)

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 (1)
  • type_request_unit Selection
    selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (1)
  • request_unit Selection
    ondelete={'natural_day': 'set default', 'natural_day_half_day': 'set default'} selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/17.0/hr_holidays_natural_period
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, Víctor Martínez, Alexandre D. Díaz, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - phone_validation
    - mail
    - bus
    - web_tour
    - resource
    - calendar
    - onboarding
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to define natural day and  natural day (Half Day) options in request unit on holidays type.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hr_leave_view_form hr.leave.view.form hr.leave label Inherits hr_holidays.hr_leave_view_form
Models touched (5)

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 (1)
  • type_request_unit Selection
    selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (1)
  • request_unit Selection
    ondelete={'natural_day': 'set default', 'natural_day_half_day': 'set default'} selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_natural_period
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSEnric Tobella, Víctor Martínez, Weblate, OCA-git-bot, Simone Rubino, oca-ci, Jose Luis Algara Toledo
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hr_leave_view_form hr.leave.view.form hr.leave label Inherits hr_holidays.hr_leave_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Only in UX an incorrect value is set, recalculate. https://github.com/OCA/hr-holidays/issues/105.

New fields (1)
  • request_unit Selection
    ondelete={'natural_day': 'set default', 'natural_day_half_day': 'set default'} selection_add=[('natural_day', 'Natural day'), ('natural_day_half_day', 'Natural day (Half Day)')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/15.0/hr_holidays_natural_period
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • request_unit Selection
    ondelete={'natural_day': 'set default'} selection_add=[('natural_day', 'Natural day')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/14.0/hr_holidays_natural_period
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • request_unit Selection
    ondelete={'natural_day': 'set default'} selection_add=[('natural_day', 'Natural day')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/13.0/hr_holidays_natural_period
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, João Marques, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - mail_bot
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • request_unit Selection
    selection_add=[('natural_day', 'Natural day')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.