OdooWiki OCA HUB

HR Holidays Public (overtime)

hr_holidays_public_overtime folder_open OCA/hr-holidays open_in_new
Human Resources License: AGPL-3

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.0

This 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.attendance model, 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

hr_holidays_publichr_attendance

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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.0

To 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.

info

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.