OdooWiki OCA HUB

Attendance employee calendar planning

hr_attendance_employee_calendar_planning folder_open OCA/hr-attendance open_in_new
Human Resources License: AGPL-3

This module adds support for hr_employee_calendar_planning and flexible_hours so that overtime for attendance is calculated correctly.

You only need to use this module if you use flexible hours.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Makes overtime and undertime calculations in Attendance respect each employee's planned working calendar and flexible hours, so extra or missing time is measured against the correct schedule.

This module is a small bridge between Attendance and Employee Calendar Planning. It does not add new screens or menus; it changes how existing overtime rules are calculated.

When Odoo works out overtime or undertime for attendances, this module passes the relevant date range (from the earliest check-in to the latest check-out) into the calculation, so the employee's planned calendar for those exact days is used.

It also refreshes the flexible-hours computation on the working calendars of the employees involved before the overtime/undertime intervals are compared with the schedule. This means flexible hours are taken into account when deciding whether time counts as overtime or undertime.

  • Affects the overtime rule model hr.attendance.overtime.rule and its interval calculation.
  • Touches employee records (hr.employee) and working calendars (resource.calendar).
  • No new menus, buttons, reports, emails or scheduled jobs are added.

You only need this module if you use flexible hours together with employee calendar planning; otherwise the standard attendance overtime logic already applies.

Depends on

Models and fields (1)
  • hr.attendance.overtime.rule · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/hr-attendance.

terminal Installation and usage

No verified information

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.

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.