Sale Stock Orderpoint Mto As Mts
When the sales order line has an MTO route and when the default warehouse delivery route is MTO, ensure there is an orderpoint for the product.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0When a sales order line uses a Make To Order route, this module automatically creates a reordering rule (orderpoint) for the product in the warehouse, so the product is replenished as if it were Make To Stock.
This module works behind the scenes on sales orders. When a sales order line is confirmed and its delivery uses a Make To Order route, the system checks the outgoing stock moves linked to that line.
- For each product and warehouse involved, it creates a default reordering rule (orderpoint) if one does not already exist.
- If the new orderpoint is set to automatic triggering and the automatic scheduler is not disabled, it immediately runs the replenishment calculation for that orderpoint.
- The rule is created per warehouse, using the warehouse of the stock move or, if missing, the warehouse of the sales order.
This means users do not need to manually create reordering rules for products sold with a Make To Order route. The module touches the sales order line model (sale.order.line) and works together with the stock orderpoint logic from its dependency. It does not add menus, buttons, or reports; it only changes what happens automatically when stock rules are launched after confirming a sales order.
Depends on
Models and fields (1)
- sale.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.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 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-orderpoint.
terminal Installation and usage
No verified informationInstallation 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.