This module allow you to choose what level of restriction you'd like to apply when selecting from the list of customers.
This configuration is available in Sales / Configuration / Settings, and the options available would be:
- All partners (default)
- Only parent accounts (no contacts)
- Parent accounts and contact persons
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Lets you control which customers can be picked on a sales order: all partners, only parent companies, or parents plus their contacts. The setting is configured per company in Sales settings.
This module adds a company-level setting that decides which customers are selectable when creating a sales order.
- In Sales / Configuration / Settings you get a new option "Partner Restriction on Sale Orders" with three choices: All partners (default), Only parent accounts (no contacts), and Parent accounts and contacts.
- The choice is stored on the company, so each company can have its own rule.
- On the sales order form, the customer field is filtered according to that rule: with "Only parent accounts" you can only pick companies that are not contacts; with "Parent accounts and contacts" you can also pick contact persons; with "All partners" nothing is restricted (apart from the usual company filter).
- If a sales order already has a customer that does not match the rule, Odoo raises a validation error naming the customer and the company, so the order cannot be saved with a forbidden partner.
- The rule is applied automatically when the setting changes on the order form, and it is also enforced when saving.
The module touches the sales order (sale.order), the company (res.company) and the settings screen (res.config.settings).
Depends on
Models and fields (3)
- sale.order · extends an existing modelsale_order_partner_restrict (Partner Restriction on Sale Orders)
- res.company · extends an existing modelsale_order_partner_restrict
- res.config.settings · extends an existing modelsale_order_partner_restrict (Partner Restriction on Sale Orders)
Text generated by AI (DeepSeek) from reading the Odoo 15.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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 15.0Usage
Source · Odoo 15.0To use this module, you need to:
- Go to Sales > Configuration > Settings
- Choose the filter you want to apply on partners.
- Go to Sales > Orders > Quotations
- Create a record and only available partners will appear on the list.
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.