TIP: You can type at any time to perform a new search.
Operating Unit
operating_unit · OCA/operating-unit
- Repository
- OCA/operating-unit · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Generic
- Folder size
- 0.07 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/operating-unit
- Last tracking update
- 2026-08-07 09:06:27
- Authors
- Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., ForgeFlow
- Maintainers
- Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., ForgeFlow
- Committers
- jcoux, OCA-git-bot, oca-ci
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- analytic_operating_unit, operating_unit_access_all, product_operating_unit, res_partner_operating_unit, sales_team_operating_unit
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 | form | Inherits base.view_users_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (6)
-
activeBooleandefault=True -
codeCharrequired=True -
company_idMany2one → res.companydefault=<expr>readonly=Truerequired=True args: 'res.company' -
nameCharrequired=True -
partner_idMany2one → res.partnerrequired=True args: 'res.partner', 'Partner' -
user_idsMany2many → res.usersargs: 'res.users', 'operating_unit_users_rel', 'operating_unit_id', 'user_id', 'Users Allowed'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (3)
-
assigned_operating_unit_idsMany2many → operating.unitcolumn1='user_id'column2='operating_unit_id'comodel_name='operating.unit'default=<expr>relation='operating_unit_users_rel'string='Operating Units' -
default_operating_unit_idMany2one → operating.unitcomodel_name='operating.unit'default=<expr>domain="[('company_id', '=', current_company_id)]"string='Default Operating Unit' -
operating_unit_idsOne2many → operating.unitcomodel_name='operating.unit'compute='_compute_operating_unit_ids'compute_sudo=Trueinverse='_inverse_operating_unit_ids'string='Allowed Operating Units'
-
default_get(self, fields)@api.model -
operating_units(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…