OdooWiki OCA HUB

Leave Request Wizard

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

This module provides advanced leave request wizard.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a guided wizard to create leave requests day by day or hour by hour, showing how much time is available and how much is being requested before submitting.

This module adds a new guided screen for creating leave requests, available from the My Leaves menu as "New Request Wizard".

In the wizard you pick the employee, a description, the leave type, and a start and end date. Odoo then automatically builds a list of days between those dates. For each day it looks at the employee's working calendar and creates the actual working intervals, so non-working time is left out.

Depending on the leave type, the wizard shows either days or hours: - For day-based leave types you see one line per day with requested and available days. - For hour-based leave types you see one line per working interval with requested and available hours.

You can type the requested days or hours and the wizard recalculates the percentage of the interval that is being taken. It also shows totals for requested and available time, and days with no available time are greyed out.

When you press Submit, the wizard creates the actual leave requests in Odoo. If a whole interval is requested, consecutive intervals are merged into a single request; otherwise separate requests are created, each numbered in its description.

The module also adjusts the standard leave form so that, once a leave is saved, the From and To dates are shown as read-only text instead of editable fields.

Depends on

hr_holidays

Menus it adds

New Request Wizard
Models and fields (3)
  • hr.leave.wizard · new modelname (Description), date_to (End Date), day_ids (Days), date_from (Start Date), employee_id (Employee), interval_ids (Intervals), leave_type_id (Leave Type), leave_type_request_unit
  • hr.leave.wizard.day · new modeldate (Date), name, wizard_id (Wizard), interval_ids (Intervals), available_days (Available (days)), request_amount (Request (%)), requested_days (Requested (days)), available_hours (Available (hours)), requested_hours (Requested (hours)), leave_type_request_unit
  • hr.leave.wizard.day.interval · new modeldate, name, since (Since), until (Until), day_id (Day), day_name (Day Name), wizard_id (Wizard), available_days (Available (days)), request_amount (Request (%)), requested_days (Requested (days)), available_hours (Available (hours)), requested_hours (Requested (hours)), leave_type_request_unit

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

terminal Installation and usage

OCA documentation · Odoo 12.0

To run the leave request wizard:

  • Go to Leaves > My Leaves > New Request Wizard
  • Fill the request form fields

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.