HR Operating Unit

hr_operating_unit
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/17.0/hr_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gonzalo González Domínguez
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gonzalo González Domínguez
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, TraiTran
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - operating_unit
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - phone_validation
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits hr.view_employee_filter
view_employee_form hr.employee_form hr.employee field Inherits hr.view_employee_form
view_employee_tree hr.employee_tree hr.employee field Inherits hr.view_employee_tree
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.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/16.0/hr_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gonzalo González Domínguez
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gonzalo González Domínguez
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Borruso
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:54:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - operating_unit
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_employee_filter hr.employee_filter hr.employee field Inherits hr.view_employee_filter
view_employee_form hr.employee_form hr.employee field Inherits hr.view_employee_form
view_employee_tree hr.employee_tree hr.employee field Inherits hr.view_employee_tree
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
    args: 'hr.employee', 'operating_unit_employees_rel', 'operating_unit_id', 'employee_id', 'Employees Allowed'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/15.0/hr_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gonzalo González Domínguez
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gonzalo González Domínguez
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - operating_unit
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_employee_filter hr.employee_filter hr.employee field Inherits hr.view_employee_filter
view_employee_form hr.employee_form hr.employee field Inherits hr.view_employee_form
view_employee_tree hr.employee_tree hr.employee field Inherits hr.view_employee_tree
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
    args: 'hr.employee', 'operating_unit_employees_rel', 'operating_unit_id', 'employee_id', 'Employees Allowed'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/14.0/hr_operating_unit
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gonzalo González Domínguez
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gonzalo González Domínguez
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Saran440, Patrick Wilson, Murtaza Mithaiwala
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - operating_unit
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_employee_filter hr.employee_filter hr.employee field Inherits hr.view_employee_filter
view_employee_form hr.employee_form hr.employee field Inherits hr.view_employee_form
view_employee_tree hr.employee_tree hr.employee field Inherits hr.view_employee_tree
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
    args: 'hr.employee', 'operating_unit_employees_rel', 'operating_unit_id', 'employee_id', 'Employees Allowed'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/12.0/hr_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gonzalo González Domínguez
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gonzalo González Domínguez
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, meigallodixital
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - operating_unit
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_employee_filter hr.employee_filter hr.employee field Inherits hr.view_employee_filter
view_employee_form hr.employee_form hr.employee field Inherits hr.view_employee_form
view_employee_tree hr.employee_tree hr.employee field Inherits hr.view_employee_tree
Models touched (2)

New fields (2)
  • default_operating_unit_id Many2one → operating.unit
    default=<expr> args: 'operating.unit', 'Default Operating Unit'
  • operating_unit_ids Many2many → operating.unit
    default=<expr> args: 'operating.unit', 'operating_unit_employees_rel', 'employee_id', 'poid', 'Operating Units'
Public methods (0)

No public methods.

New fields (1)
  • employee_ids Many2many → hr.employee
    args: 'hr.employee', 'operating_unit_employees_rel', 'poid', 'employee_id', 'Employees Allowed'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/operating-unit
PULL REQUEST
PULL REQUEST[18.0][MIG] hr_operating_unit: Migration to 18.0 (#732)