OdooWiki OCA HUB

Holidays employee calendar planning

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

This module adds support for hr_employee_calendar_planning and flexible_hours to hr_holidays.

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

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Makes time-off requests respect each employee's planned working calendar and flexible hours, so leave durations are calculated correctly when schedules change over time.

This module connects employee calendar planning with time-off requests. When an employee's working schedule changes over time (for example, different hours in different weeks), Odoo needs to know which schedule applied on the exact dates of the leave request.

  • It recalculates the leave duration using the employee's planned calendar for the requested dates, not just the current schedule.
  • It also supports flexible hours: employees whose schedule allows flexible start and end times get their leave hours computed accordingly.
  • The calculation happens automatically when a leave request is created or its dates change, so the number of days or hours requested is accurate.

It works behind the scenes on the time-off request screen (hr.leave). No new menus, buttons or reports are added. The module only changes how durations and hour ranges are determined, using the request's start and end dates to pick the right calendar period and to check whether the employee is on flexible hours.

Depends on

Models and fields (1)
  • hr.leave · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/hr-holidays.

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.