OdooWiki OCA HUB

MRP MTO with Stock

mrp_mto_with_stock folder_open OCA/manufacture open_in_new
Manufacturing License: AGPL-3

This module extends the functionality of Manufacturing to support the creation of procurements only for a part of the raw material. It has 2 modes. The default one allow you to pull from stock until the quantity on hand is zero, and then create a procurement to fulfill the MO requirements. In this mode, the created procurements must be the ones fulfilling the MO that has generated it. The other mode is based on the forecast quantity. It will allow to pull from stock until the forecast quantity is zero and then create a procurement for the missing products. In this mode, there is no link between the procurement created and MO that has generated it. The procurement may be used to fulfill another MO.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Lets manufacturing orders consume raw materials from stock first and only create purchase/manufacturing procurements for the missing quantity, based either on reservable stock or on forecast stock.

This module changes how manufacturing orders (MO) get their raw materials when a component is set to be both made-to-stock and made-to-order.

  • On each product, you can list the manufacturing source locations where this mixed behaviour applies (field 'Manufacturing MTO/MTS Locations' on the product form).
  • On the warehouse, a new option 'MRP MTO with forecast stock' switches the calculation basis: by default the module looks at stock that can actually be reserved; if you tick the option, it looks at the forecast quantity instead.

When you reserve components on a manufacturing order, Odoo first takes whatever is available in stock. For the remaining quantity it automatically creates a procurement (a purchase or manufacturing request) so the missing material is obtained. In the default mode, that procurement stays linked to the manufacturing order that triggered it. In forecast mode, the procurement is not linked to the MO and may be used to fulfil another one.

The module touches mrp.production, product.template and stock.warehouse. It adds no new menus; the new fields appear on the existing product form and warehouse configuration screens.

Depends on

Models and fields (3)
  • mrp.production · extends an existing model
  • stock.warehouse · extends an existing modelmrp_mto_mts_forecast_qty (MRP MTO with forecast stock)
  • product.template · extends an existing modelmrp_mts_mto_location_ids (Manufacturing MTO/MTS Locations)

Text generated by AI (DeepSeek) from reading the Odoo 12.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/manufacture.

terminal Installation and usage

OCA documentation · Odoo 12.0

To configure this module, you need to:

  • Go to the products you want to follow this behaviour.
  • In the view form go to the tab Inventory and set the Manufacturing MTO/MTS Locations. Any other location not specified here will have the standard behavior.

If you want to use the second mode, based on forecast quantity

  • Go to the warehouse you want to follow this behaviour.
  • In the view form go to the tab Warehouse Configuration and set the MRP MTO with forecast stock. You still need to configure the products like described in last step.

To use this module, you need to:

  • Go to Manufacturing and create a Manufacturing Order.
  • Click on Check availability.

No verified information in OCA: Installation.

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.