This module adds support for public holidays in Odoo's overtime calculation.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0This module makes Odoo's overtime calculation ignore public holidays, so employees are not credited with overtime on days that are public holidays.
When Odoo computes overtime from attendance records, this module changes the calculation so that public holidays are excluded. It works together with the Public Holidays and Attendance apps.
- It affects the
hr.attendancemodel, which stores check-in and check-out times. - The overtime calculation is adjusted so that any attendance on a public holiday is not counted as overtime.
- The module installs automatically when both the Public Holidays and Attendance apps are installed.
There are no new menus, screens, or buttons. The change happens behind the scenes whenever overtime is calculated, for example when attendance records are processed. The module does not add any new fields or reports.
Because the code is short and only overrides the overtime update method, the exact user-visible effect depends on how overtime is displayed elsewhere in Odoo. In practice, users will see that overtime totals no longer include hours worked on public holidays.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/hr-holidays.
terminal Installation and usage
OCA documentation · Odoo 15.0Usage
Source · Odoo 15.0To use this module, you need to:
- Go to Attendances, and record time on a date that is a public holiday for your employee
- Observe the time recorded is counted as extra hours
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.