This module introduces the following features:
- Adds the Operating Unit (OU) to the sale order depending on customers' Operating Unit.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Automatically fills the Operating Unit on a sales order from the customer's Operating Unit when the customer belongs to exactly one Operating Unit and no sales team is set.
This module links the customer's Operating Unit to the sales order. When a customer is linked to exactly one Operating Unit and the sales order has no sales team, the order's Operating Unit is taken directly from that customer.
- The Operating Unit on the sales order is computed from the customer's Operating Units (
partner_id.operating_unit_ids). - The automatic fill only happens when the customer has exactly one Operating Unit and the order has no sales team (
team_id). - Orders that already have a sales team are left to the standard logic, so the sales team still decides the Operating Unit in that case.
- The standard sales team computation is also adjusted so it does not override the Operating Unit coming from the customer in these single-Operating-Unit cases.
It touches the sale.order model and works together with the customer Operating Unit and sales Operating Unit modules. Users do not get a new menu or button; the change is automatic when creating or editing a quotation or sales order.
Models and fields (1)
- sale.order · extends an existing model
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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/operating-unit.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.0Add the operating unit to a sale orders' Customer (partner_id). The orders' operating unit will be updated accordingly.
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.