Resource Leaves Geographic

resource_leaves_geographic
REPOSITORY
REPOSITORYOCA/hr-holidays
GIT
GIThttps://github.com/OCA/hr-holidays.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-holidays/tree/18.0/resource_leaves_geographic
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources/Time Off
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - resource
    - base
    - web
    - hr_holidays
    - hr
    - base_setup
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
    - resource_mail
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of Public Holidays to support States and allow you to define Local Holidays more easily in the Company Calendar.

Shows on Time Off all the holidays (with/without State) in the Public Holidays section.
Public Holidays (without State) always will have grey background.
Local holidays displayed with a grey background in the calendar view belong to the Employee currently viewing the calendar or to the single Employee selected from the Employee Form view.

This module is compatible with Attendances and Contracts (but those modules are not required).

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
resource_calendar_leave_form resource.calendar.leaves.state.form resource.calendar.leaves xpath Inherits resource.resource_calendar_leave_form
resource_calendar_leave_tree resource.calendar.leaves.state.tree resource.calendar.leaves xpath Inherits resource.resource_calendar_leave_tree
view_resource_calendar resource.calendar.leaves.state.calendar resource.calendar.leaves xpath Inherits resource.view_resource_calendar
view_resource_calendar_leaves_search resource.calendar.leaves.state.search resource.calendar.leaves xpath Inherits resource.view_resource_calendar_leaves_search
Models touched (3)

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)
  • state_ids Many2many → res.country.state
    comodel_name='res.country.state' help='States for which this leave is applicable' string='States'
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/resource_leaves_geographic
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources/Time Off
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Eduardo De Miguel
WEBSITE
WEBSITEhttps://github.com/OCA/hr-holidays
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - resource
    - base
    - web
    - hr_holidays
    - hr
    - base_setup
    - mail
    - bus
    - web_tour
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of Public Holidays to support States and allow you to define Local Holidays more easily in the Company Calendar.

Shows on Time Off all the holidays (with/without State) in the Public Holidays section.
Public Holidays (without State) always will have grey background.
Local holidays displayed with a grey background in the calendar view belong to the Employee currently viewing the calendar or to the single Employee selected from the Employee Form view.

This module is compatible with Attendances and Contracts (but those modules are not required).

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
resource_calendar_leave_form resource.calendar.leaves.state.form resource.calendar.leaves xpath Inherits resource.resource_calendar_leave_form
resource_calendar_leave_tree resource.calendar.leaves.state.tree resource.calendar.leaves xpath Inherits resource.resource_calendar_leave_tree
view_resource_calendar resource.calendar.leaves.state.calendar resource.calendar.leaves xpath Inherits resource.view_resource_calendar
view_resource_calendar_leaves_search resource.calendar.leaves.state.search resource.calendar.leaves xpath Inherits resource.view_resource_calendar_leaves_search
Models touched (3)

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)
  • state_ids Many2many → res.country.state
    comodel_name='res.country.state' help='States for which this leave is applicable' string='States'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr-holidays
PULL REQUEST
PULL REQUEST[17.0] [MIG] resource_leaves_geographic: migration to 17.0 (#178)