This module allows you to select a vendor at the sale order line level when a route is defined.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you pick a specific vendor on each sale order line when the product is bought through a route, so the generated purchase order goes to that vendor. A company setting can restrict the choice to vendors already linked to the product.
When you sell a product that is purchased or manufactured through a route, this module adds a Vendor field on the sale order line. You can choose the supplier that should be used for that specific line, and the purchase order created from the sale will be sent to that vendor.
- On the sale order form, the Vendor field appears in the line detail form and can be shown as an optional column in the lines list.
- If the company setting "Restrict allowed vendors in sale orders" is enabled (it is on by default), the Vendor field only offers vendors already configured on the product. If the setting is off, any vendor can be selected.
- The Vendor field becomes read-only once the sale order is confirmed or cancelled.
- If the chosen vendor is not yet linked to the product, the module automatically creates the missing supplier link so the purchase can proceed.
- The vendor choice is carried through to the stock moves and procurement, including MTO flows where the outgoing move is created first.
- In the Sales analysis report, you can filter and group by Vendor, and a Vendor search filter is added to the sales order list.
The setting is available in Purchase settings under the matrix section. The module touches sale.order, sale.order.line, stock.move, sale.report, res.company and res.config.settings.
Depends on
Models and fields (6)
- sale.order · extends an existing modelsale_purchase_force_vendor_restrict
- stock.move · extends an existing model
- res.company · extends an existing modelsale_purchase_force_vendor_restrict (Restrict allowed vendors in sale orders)
- sale.report · extends an existing modelvendor_id
- sale.order.line · extends an existing modelvendor_id, vendor_id_domain
- res.config.settings · extends an existing modelsale_purchase_force_vendor_restrict (Restrict allowed vendors in sale orders)
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0To configure this module, you need to:
- Install sale_management app.
- Go to Inventory -\> Configuration -\> Settings and check "Multi-Step Routes" option.
- Go to Inventory -\> Configuration -\> Routes \> Buy and check "Sales Order Lines" option.
- Go to Inventory -\> Configuration -\> Routes, filter "Archived" an "Unarchived" MTO route.
- Go to Sale -\> Products -\> Products.
- Create a new product with the following options:
- [Puchase tab]
Vendors: Set different vendors (Vendor A + Vendor B). - [Iventory tab]
Routes: Buy and MTO
Usage
Source · Odoo 19.0- Go to Sale -\> Orders -\> Quotations and create a new Quotation.
- Create a new line with the following options:
Route: MTO.Vendor: Vendor B.- Confirm sale order.
- A new purchase order will have been created to Vendor B.
- If you don't want to apply restriction, you can uncheck "Restrict allowed vendors in sale orders" field in Purchase \> Configuration \> Products.
No verified information in OCA: Installation.
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.