Sale purchase stock auto confirm
This module adds a company-level option to automatically confirm purchase orders generated from sale orders (by Dropship or MTO rules).
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a company setting that automatically confirms purchase orders created from sales orders when using MTO or Dropship rules, so users no longer have to validate those purchase orders manually.
This module gives companies an option to skip the manual step of confirming purchase orders that Odoo creates automatically from sales orders.
Where it appears: - A new setting called "POs Auto Validation" is added to the Sales settings screen, inside a "Purchase stock" block. - The same option is stored on the company, so it can be set per company.
What it does: - When a sales order is confirmed, Odoo looks at the purchase orders linked to it (the ones generated by the Make To Order or Dropship rules). - If the company has the option enabled, any of those purchase orders that are still in draft state are confirmed automatically. - If the option is off, nothing changes and users confirm purchase orders as usual.
Business rules and behaviour: - The automatic confirmation only applies to draft purchase orders belonging to a company where the setting is enabled. - It runs as part of the normal sales order confirmation process, so no extra button or manual action is needed.
Areas touched:
- Sales settings (res.config.settings), company settings (res.company) and the sales order confirmation logic (sale.order).
- It relies on the purchase orders linked to the sales order, which come from the sale_purchase_stock module.
Depends on
Models and fields (3)
- sale.order · extends an existing model
- res.company · extends an existing modelpurchase_auto_validation (POs Auto Validation)
- res.config.settings · extends an existing modelpurchase_auto_validation
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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0- Go to
Sales > Configuration > Settings. - Search and enable the option
POs Auto Validation. - Create a sale order and add a line with a product that uses the MTO or Dropship route.
- Confirm the sale order.
The generated purchase order must be confirmed automatically.
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.