Operating Unit

operating_unit
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/19.0/operating_unit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSjcoux, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
An operating unit (OU) is an organizational entity part of a company,
with separate management ownership. Management by OU is aimed to
introduce the following features:

- Data partitioning from other OU.
- Own sequencing schemes.
- User access administration for data processing and reporting.
- Product and customer independence of OU.
- OU specific P&L and Balance sheet.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit list New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (3)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_units(self)
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/18.0/operating_unit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Daniel Chionne, bt-dlagin
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
An operating unit (OU) is an organizational entity part of a company,
with separate management ownership. Management by OU is aimed to
introduce the following features:

- Data partitioning from other OU.
- Own sequencing schemes.
- User access administration for data processing and reporting.
- Product and customer independence of OU.
- OU specific P&L and Balance sheet.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit list New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (3)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_units(self)
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/17.0/operating_unit
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Vincent Van Rossem, Jérémy Didderen, Daniel Chionne
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
An operating unit (OU) is an organizational entity part of a company,
with separate management ownership. Management by OU is aimed to
introduce the following features:

- Data partitioning from other OU.
- Own sequencing schemes.
- User access administration for data processing and reporting.
- Product and customer independence of OU.
- OU specific P&L and Balance sheet.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (3)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_units(self)
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/16.0/operating_unit
VERSION
VERSION 1.1.3
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSGitHub, Weblate, OCA-git-bot, oca-ci, gianmarco, Maksym Yankin, Alessandro Uffreduzzi, hugues de keyzer, Daniel Chionne
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:54:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • name_get(self)
  • write(self, vals)

New fields (4)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> help='Technical field. Refer to `operating_unit_ids` if you need to check if an OU is assigned to a user.' relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
  • operating_unit_readonly Boolean
    compute='_compute_operating_unit_readonly'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_unit_default_get(self, uid2=False)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/15.0/operating_unit
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSMiquel Raïch, AaronHForgeFlow, Weblate, OCA-git-bot, Jesús Alan Ramos Rodríguez, oca-ci, Alessandro Uffreduzzi, Ilyas, Daniel Chionne
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (4)
  • create(self, values)
    @api.model
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model
  • write(self, vals)

New fields (4)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> help='Technical field. Refer to `operating_unit_ids` if you need to check if an OU is assigned to a user.' relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
  • operating_unit_readonly Boolean
    compute='_compute_operating_unit_readonly'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_unit_default_get(self, uid2=False)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/14.0/operating_unit
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA Transbot, Miquel Raïch, Jesús Alan Ramos Rodríguez, AaronHForgeFlow, oca-travis, Weblate, OCA-git-bot, oca-ci, Saran440, Alessandro Uffreduzzi, Ilyas, oca-git-bot, Ashish Hirpara, Marcin Sokołowski
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (4)
  • create(self, values)
    @api.model
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model
  • write(self, vals)

New fields (4)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> help='Technical field. Refer to `operating_unit_ids` if you need to check if an OU is assigned to a user.' relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
  • operating_unit_readonly Boolean
    compute='_compute_operating_unit_readonly'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_unit_default_get(self, uid2=False)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/13.0/operating_unit
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSGitHub, mreficent, Andrea, Luc De Meyer, OCA Transbot, Miquel Raïch, Jesús Alan Ramos Rodríguez, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
Public methods (3)
  • create(self, values)
    @api.model
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model
  • write(self, vals)

New fields (3)
  • assigned_operating_unit_ids Many2many → operating.unit
    column1='user_id' column2='operating_unit_id' comodel_name='operating.unit' default=<expr> relation='operating_unit_users_rel' string='Operating Units'
  • default_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> domain="[('company_id', '=', current_company_id)]" string='Default Operating Unit'
  • operating_unit_ids One2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' compute_sudo=True inverse='_inverse_operating_unit_ids' string='Allowed Operating Units'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • operating_unit_default_get(self, uid2=False)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/12.0/operating_unit
VERSION
VERSION 1.4.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA Transbot, ahenriquez, oca-travis, Weblate, OCA-git-bot, Aaron Henriquez, Aarón Henríquez, scampbell
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True args: 'Active'
  • code Char
    required=True args: 'Code'
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True args: 'res.company', 'Company'
  • name Char
    required=True args: 'Name'
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'poid', 'user_id', 'Users Allowed'
Public methods (3)
  • create(self, values)
    @api.model
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model
  • write(self, vals)
    @api.multi

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_users_rel', 'user_id', 'poid', 'Operating Units'
Public methods (1)
  • operating_unit_default_get(self, uid2=False)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/11.0/operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSJordi Ballester Alomar, Aaron Henriquez
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True args: 'Active'
  • code Char
    required=True args: 'Code'
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company', 'Company'
  • name Char
    required=True args: 'Name'
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'poid', 'user_id', 'Users Allowed'
Public methods (1)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

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_users_rel', 'user_id', 'poid', 'Operating Units'
Public methods (1)
  • operating_unit_default_get(self, uid2=False)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/10.0/operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Jordi Ballester Alomar, Aaron Henriquez
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users field Inherits base.view_users_form
Models touched (2)

New fields (6)
  • active Boolean
    default=True args: 'Active'
  • code Char
    required=True args: 'Code'
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company', 'Company'
  • name Char
    required=True args: 'Name'
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
  • user_ids Many2many → res.users
    args: 'res.users', 'operating_unit_users_rel', 'poid', 'user_id', 'Users Allowed'
Public methods (1)
  • name_search(self, name, args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • default_operating_unit_id Many2one → operating.unit
    default=_get_operating_unit args: 'operating.unit', 'Default Operating Unit'
  • operating_unit_ids Many2many → operating.unit
    default=_get_operating_units args: 'operating.unit', 'operating_unit_users_rel', 'user_id', 'poid', 'Operating Units'
Public methods (1)
  • operating_unit_default_get(self, uid2)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/9.0/operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., Eficent Business and IT Consulting Services S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., Eficent Business and IT Consulting Services S.L.
COMMITTERS
COMMITTERSJordi Ballester Alomar, Eric Caudal
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users field Inherits base.view_users_form
Models touched (2)

New fields (5)
  • active Boolean
    default=True args: 'Active'
  • code Char
    required=True args: 'Code'
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company', 'Company'
  • name Char
    required=True args: 'Name'
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
Public methods (1)
  • name_search(self, name, args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • default_operating_unit_id Many2one → operating.unit
    default=_get_operating_unit args: 'operating.unit', 'Default Operating Unit'
  • operating_unit_ids Many2many → operating.unit
    default=_get_operating_units args: 'operating.unit', 'operating_unit_users_rel', 'user_id', 'poid', 'Operating Units'
Public methods (1)
  • operating_unit_default_get(self, uid2)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/8.0/operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting and finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., Eficent Business and IT Consulting Services S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., Eficent Business and IT Consulting Services S.L.
COMMITTERS
COMMITTERSjbeficent, aheficent, Sudhir Arya
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_operating_unit_form operating.unit.form operating.unit form New
view_operating_unit_search operating.unit.search operating.unit search New
view_operating_unit_tree operating.unit.tree operating.unit tree New
view_users_form res.users.form res.users xpath Inherits base.view_users_form
Models touched (2)

New fields (5)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company', 'Company'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner', 'Partner'
Public methods (1)
  • name_search(self, name, args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • default_operating_unit_id Many2one → operating.unit
    default=_get_operating_unit args: 'operating.unit', 'Default Operating Unit'
  • operating_unit_ids Many2many → operating.unit
    default=_get_operating_units args: 'operating.unit', 'operating_unit_users_rel', 'user_id', 'poid', 'Operating Units'
Public methods (1)
  • operating_unit_default_get(self, uid2)
    @api.model