OdooWiki OCA HUB

HR Holidays leave repeated

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

This module allows to create periodical leaves.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you create a leave request that automatically repeats on a schedule (every workday, week, two weeks or four weeks) either a set number of times or until an end date.

This module adds a repeating option to time-off requests in Odoo. First, on a time-off type (for example Annual Leave), you can tick a new "Repeat" checkbox. When that type is used, the leave request form shows extra fields: how often to repeat (every workday, every week, every two weeks or every four weeks), whether the repetition stops after a number of times or on an end date, and the matching number or date.

When you save such a request, Odoo automatically creates the follow-up leave requests for you, copying the employee and shifting the dates forward by the chosen interval. The repetition stops when the number of times is reached or when the end date is passed.

Business rules are enforced: the original request must not be longer than the repetition interval (for example, a weekly repetition cannot exceed one week), the number of repetitions must be positive, and an end date cannot be before the leave starts. The repeat fields are only editable while creating the request, not afterwards.

It works inside the standard Time Off app and touches the leave request and time-off type screens.

Depends on

hr_holidays
Models and fields (2)
  • hr.leave · extends an existing modelrepeat_mode, repeat_every, repeat_limit (Repeat # times), repeat_end_date, holiday_type_repeat
  • hr.leave.type · extends an existing modelrepeat

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 14.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Set a particular leave type with flag Repeat set to True.
  • Create a leave request, selecting the leave type having flag Repeat set to True.
  • Set the 'Repeat Mode' field to 'Number of Times'. Set the proper values for 'Repeat Every' and 'Repeat # times'.
  • Alternatively set the 'Repeat Mode' field to 'End Date', then set 'Repeat Every' and 'Repeat End Date'.
  • Create (save) the leave request. All the periodical leave requests are automatically created.

No verified information in OCA: Installation.

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.