OdooWiki OCA HUB

Auto Approve Leaves

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

This module allows the user to define a leave type in order to make the system automatically validating all the leave requests (and leave allocation requests) belonging to that leave type.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds an option on each leave type to automatically validate leave requests, either by HR only or by everyone, so employees no longer wait for manual approval.

This module adds a new setting on each leave type (for example Annual Leave or Sick Leave) called auto approve policy. You can choose between three options: no automatic validation, automatic validation by HR, or automatic validation by everyone.

When a leave request is created for a leave type set to automatic validation, the system approves it immediately instead of leaving it waiting for a manager or HR officer. If the policy is set to be validated by HR, the request is only auto-approved when the person creating it has approval rights; if it is set to be validated by everyone, it is always auto-approved.

Because the approval happens automatically, the usual notification and activity messages linked to the approval step are skipped for those requests, so employees are not bothered with unnecessary emails or to-dos.

The new setting appears directly on the leave type form, right after the existing validation setting, so administrators configure it in the same place where they already manage leave types. The module also relaxes an internal approval check for administrators, allowing them to change the status of a leave request without restriction.

It works together with the standard Time Off application and affects leave requests and leave types only.

Depends on

hr_holidays
Models and fields (2)
  • hr.leave · extends an existing model
  • hr.leave.type · extends an existing modelauto_approve_policy

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

If you wish that the system automatically validates the leave requests belonging to a specific leave type, please follow the steps below.

  • Go on the leave type configuration menu
  • Select the leave type you wish to setup
  • Select the auto approve policy for that leave type.

The option 'Auto Validated by HR' will auto validate leave requests created by HR Officers while option 'Auto Validated by Everyone' will auto validate all leave requests of the selected type, no matter who requested it.

No verified information in OCA: Installation, Usage.

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.