This module introduces the following features:
- Adds the Operating Unit (OU) to Contracts.
- Security rules are defined to ensure that users can only see the Contracts of that Operating Units in which they are allowed access to.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Adds an Operating Unit field to contracts so each contract can be linked to a specific operating unit, and restricts which contracts users can see based on the operating units they are allowed to access.
This module links contracts to Operating Units, a way of separating business activity by branch or division. On every contract you get a new "Operating Unit" field, shown on the customer contract form, the supplier contract form and the contract list, but only for users who have the multi operating unit setting enabled.
When a contract is created, the Operating Unit is filled in automatically with the default operating unit of the user who creates it, so users do not have to set it manually every time.
When an invoice is generated from a contract, the contract's Operating Unit is copied onto the invoice, keeping the accounting entry aligned with the contract's operating unit.
In the contract search screen you can filter and group contracts by Operating Unit, making it easy to review all contracts belonging to one branch or division.
A security rule limits visibility: users only see contracts whose Operating Unit is one of the operating units they are allowed to access, plus contracts with no Operating Unit at all. The rule applies to reading contracts; it does not by itself grant or block creating, editing or deleting them.
The module works together with the Contracts and Account Operating Unit modules and affects the contract.contract model.
Depends on
Required by other modules
Models and fields (1)
- contract.contract · extends an existing modeloperating_unit_id
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-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/operating-unit.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.0Assign contracts to specific operating units within the company
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.