Partner Product Pricelist Operating Unit
This module introduces the following features:
- Ensures that the Product Pricelist assigned to a Partner belongs to one of the Partner's Operating Units (OUs).
- Adds a constraint to prevent assigning a Pricelist from an unauthorized Operating Unit.
- Filters the Pricelists in the Partner form based on the Partner's Operating Units.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Keeps a customer's assigned pricelist consistent with the Operating Units the customer belongs to, blocking pricelists from unauthorized units and filtering the choices shown on the partner form.
This module links pricelists to Operating Units (OUs) on customer and vendor records. When you open a partner form, the Pricelist field only offers pricelists that belong to one of the partner's Operating Units, or pricelists that have no Operating Unit at all. This filtering appears on the partner form and on the partner property form.
A validation rule prevents saving a partner when the chosen pricelist belongs to an Operating Unit that is not linked to that partner. If you try, Odoo shows an error naming the pricelist and the Operating Unit.
When Odoo automatically determines the pricelist for a partner (for example during sales flows), it checks the partner's Operating Units. If the partner has no Operating Units, no pricelist is returned. If the current pricelist belongs to an Operating Unit outside the partner's units, Odoo searches for another active pricelist in the same company that matches one of the partner's Operating Units.
The module also makes Operating Units a commercial field, so they are shared with child contacts, and it adjusts the partner form so Operating Units are managed on the parent company for non-company contacts. It touches the res.partner and product.pricelist models.
Models and fields (2)
- res.partner · extends an existing model
- product.pricelist · 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.0- Add a Pricelist to the Customer
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.