Repository
OCA/hr-holidays · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources/Time Off
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-holidays
Last tracking update
2026-08-07 08:42:58
Authors
Odoo Community Association (OCA), Moduon
Maintainers
Odoo Community Association (OCA), Moduon
Committers
OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits resource.resource_calendar_leave_form
resource_calendar_leave_tree resource.calendar.leaves.state.tree resource.calendar.leaves tree Inherits resource.resource_calendar_leave_tree
view_resource_calendar resource.calendar.leaves.state.calendar resource.calendar.leaves calendar Inherits resource.view_resource_calendar
view_resource_calendar_leaves_search resource.calendar.leaves.state.search resource.calendar.leaves search Inherits resource.view_resource_calendar_leaves_search
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
486 days ago
Last activity
32 days ago
Repository
OCA/hr-holidays
Pull request
[17.0] [MIG] resource_leaves_geographic: migration to 17.0 (#178)