OdooWiki OCA HUB

Sale Stock Mto As Mts Orderpoint

sale_stock_mto_as_mts_orderpoint folder_open OCA/stock-logistics-workflow open_in_new
Operations/Inventory/Delivery License: AGPL-3

This module aims to materialize the triggering of another stock rule through an orderpoint in the procurement of MTO products from a sale order.

When a sales order is confirmed, if the delivery order move is generated by the stock rule linked to the standard MTO route or the MTO route is marked on the product, an orderpoint will be created on the Stock location of the warehouse, with min/max quantities of zero.

This allows to regenerate procurement according to the procure_recommended_qty using module stock_orderpoint_manual_procurement.

Finally, orderpoints with min/max quantities of zero will be archived if the MTO route is removed on the product.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

When a sales order is confirmed for a product using the Make To Order route, this module creates a zero min/max orderpoint on the warehouse stock location and runs it, so the need is materialised as a replenishment to procure. It also archives those zero orderpoints when the MTO route is removed from the product.

This module changes how Make To Order (MTO) sales are replenished. Instead of letting the MTO route directly trigger the purchase or manufacturing, it creates a replenishment rule (orderpoint) on the warehouse's stock location with minimum and maximum quantities of zero, then immediately runs it so the required quantity is procured.

Where it appears: - On the warehouse form, a new checkbox "MTO as MTS" is added. When ticked, the MTO rules of that warehouse are deactivated. - On sales order confirmation, for each outgoing delivery move that comes from the MTO route (or whose product has the MTO route), if the warehouse has the option enabled, an orderpoint is created or reactivated for the product on the warehouse stock location, and the procurement is launched.

Automatic behaviours: - The orderpoint is created with zero min/max quantities and is linked to the warehouse. - If the product later loses the MTO route, any zero min/max orderpoints for that product on warehouse stock locations are archived (deactivated). - A computed flag on stock moves indicates whether the move comes from the MTO route.

It touches sale.order.line, stock.move, stock.warehouse, product.template and stock.warehouse.orderpoint.

Models and fields (4)
  • stock.move · extends an existing modelis_from_mto_route
  • sale.order.line · extends an existing model
  • stock.warehouse · extends an existing modelmto_as_mts
  • product.template · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 14.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

No verified information

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.

info

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.