OdooWiki OCA HUB

HR Operating Unit

hr_operating_unit folder_open OCA/operating-unit open_in_new
Human Resources License: AGPL-3

This module introduces the following features:

  • Adds the Operating Unit (OU) to the Employee.
  • The Employees's default Operating Unit (OU) is proposed at the time of creation getting it from the logged user.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Adds Operating Units to employee records, so each employee can be linked to one or more operating units and have a default one. A security rule limits which employees a user can see based on those operating units.

This module links employees to Operating Units, a way of splitting a company into separate business areas.

On the employee form you get two new fields (visible to users with the multi operating unit group): a list of Operating Units the employee belongs to, and a Default Operating Unit. Both are pre-filled with the operating unit of the user who creates the record, and the default one can only be chosen among the units already listed for that employee.

The employee list view shows the default operating unit next to the department, and the search view lets you filter or group employees by default operating unit.

A global security rule named "Allowed Operating Units for Employee" is added on employees: a user can only read employees whose default operating unit is empty or is one of the operating units assigned to that user. The rule is read-only, so it does not grant or block writing, creating or deleting by itself.

On the Operating Unit side, a new "Employees Allowed" list shows which employees are attached to each unit. The module touches the employee base model and the operating unit model, and depends on the Human Resources and Operating Unit modules.

Depends on

Required by other modules

Models and fields (2)
  • operating.unit · extends an existing modelemployee_ids (Employees Allowed)
  • hr.employee.base · extends an existing modeloperating_unit_ids (Operating Units), default_operating_unit_id (Default Operating Unit)

Text generated by AI (DeepSeek) from reading the Odoo 17.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/operating-unit.

terminal Installation and usage

OCA documentation · Odoo 17.0

Add the operating unit to Employee

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.