OdooWiki OCA HUB

HR Holidays Security

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

This module extends the permissions of Time Off responsibles and approvers to flex their team assignments. Users with the permissions of Time Off responsibles can now view the Reporting menu.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets Time Off responsibles manage and approve leave requests and allocations for their own team members, and gives them access to the Time Off Reporting menu.

This module refines who can do what in the Time Off app for people who are set as a team's Time Off responsible but are not full Time Off managers.

  • Approvals: a responsible can approve or refuse requests of employees they manage, but cannot approve their own requests (only a Time Off Manager can). Depending on the leave type's validation setting, the system checks that the user is the employee's manager or has the right Time Off role, and shows clear error messages otherwise.
  • Allocations: responsibles can create allocations only for their team members, not for themselves. The list of leave types they can pick is filtered automatically. The description of an allocation is hidden (shown as *****) for employees outside their team, and only the employee concerned or their manager sees the real description.
  • Screens: the leave and allocation forms used from the approval menus are replaced by versions restricted to the responsible's team, where the employee field only lists people they manage. The Reporting menu is now visible to Time Off responsibles.
  • Access rules: reporting data is limited to the responsible's own team members, while approvers with the All Approver role see everything and regular users see only their own records.

The module touches hr.leave, hr.leave.allocation, ir.actions.act_window and the Time Off reporting model.

Depends on

hr_holidays
Models and fields (3)
  • hr.leave · extends an existing model
  • hr.leave.allocation · extends an existing modelprivate_name, allowed_holyday_status_ids
  • ir.actions.act_window · extends an existing model

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

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

terminal Installation and usage

OCA documentation · Odoo 14.0

Now a Time Off Responsible and All Approvals users can view, creat, edit, reject, set as draft leaves and allocation from their team employees.

Now a Time Off Responsible can view the Reporting menu (by Employee and by Type) and will be able to view only the appropriate records.

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.