Repository
OCA/operating-unit · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/operating-unit
Last tracking update
2026-08-07 08:23:02
Authors
Odoo Community Association (OCA), Gonzalo González Domínguez
Maintainers
Odoo Community Association (OCA), Gonzalo González Domínguez
Committers
Weblate, OCA-git-bot, oca-ci, TraiTran
Odoo dependencies
OCA/operating-unit:
odoo/odoo:
- hr
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_employee_filter hr.employee_filter hr.employee Inherits hr.view_employee_filter
view_employee_form hr.employee_form hr.employee form Inherits hr.view_employee_form
view_employee_tree hr.employee_tree hr.employee tree Inherits hr.view_employee_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (2)
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> string='Default Operating Unit'
  • operating_unit_ids Many2many → operating.unit
    column1='employee_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> relation='operating_unit_employees_rel' string='Operating Units'
Public methods (0)

No public methods.

New fields (1)
  • employee_ids Many2many → hr.employee
    column1='operating_unit_id' column2='employee_id' comodel_name='hr.employee' relation='operating_unit_employees_rel' string='Employees Allowed'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
589 days ago
Last activity
32 days ago
Repository
OCA/operating-unit
Pull request
[18.0][MIG] hr_operating_unit: Migration to 18.0 (#732)