Skip to main content
Odoo Community Association

Stock MTS+MTO MRP Rule

Beta License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runboat

This module enhances the procurement management for Manufacturing Order (MRP) components when stock is partial. It extends the functionality of the base stock_mts_mto_rule module to automatically split a component’s stock move into two: one Make to Stock (MTS) for the available quantity and another Make to Order (MTO) for the missing quantity.

Table of contents

Use Cases / Context

In standard Odoo, when a manufacturing order is confirmed and a component only has partial stock, the system reserves the available quantity, but the stock move remains a single requirement. This can lead to ambiguity in purchasing and procurement management, as a clear and separate purchase requirement for the missing quantity is not automatically created. The purchasing planner must manually analyze these cases to determine what quantity needs to be acquired.

  • Clarity in Purchasing: Automatically generates purchase requirements (MTO) only for the exact missing quantity, eliminating the need for manual calculations.

  • Improved Traceability: Allows for clear and separate tracking of stock that is already available and stock that is pending arrival.

  • Process Automation: Optimizes the workflow between the warehouse, production, and purchasing.

Configuration

To activate this functionality, a Route must be configured in the product that contains a Procurement Rule (stock.rule) with the action set to “Split Procurement.”

The module ensures that when this rule is found and there is partial stock for an MRP component, the splitting logic is automatically executed.

Usage

This module introduces an automatic and transparent solution to this problem. Upon confirming a component’s move for a manufacturing order with only partial stock, the module splits the original move as follows:

  • Make to Stock (MTS) Move: A move is created for the quantity that is available in the warehouse. This move is set to “Assigned” status, ready to be consumed by the manufacturing order.

  • Make to Order (MTO) Move: A second, entirely new move is created for the missing quantity. This move is set to “Confirmed” status or “Waiting Availability,” generating a clear and traceable purchase requirement (or a new manufacturing order if it’s a sub-assembly) for the purchasing team.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Cetmix

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

geomer198 CetmixGitDrone

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-stock-mts-mto-mrp-rule 17.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-stock-mts-mto-mrp-rule 17.0.1.0.0.2
File Interpreter ABI Platform
odoo_addon_stock_mts_mto_mrp_rule-17.0.1.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_stock_mts_mto_mrp_rule-17.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_stock_mts_mto_mrp_rule-17.0.1.0.0.2-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a81b575770d3f98bb6a0728bc722def871001e3f83c44fb37a88a5ee4b4a6eb2
BLAKE2b-256 checksum
How to use checksums
54796c775190fef72b2e14ae2165396bbc10779c6c5cc596f3197bf558baf5d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

17.0.1.0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page