OdooWiki OCA HUB

MRP Multi Level Consume Safety Stock

mrp_multi_level_consume_safety_stock folder_open OCA/manufacture open_in_new
Manufacturing License: LGPL-3

This module complements the mrp_multi_level module by allowing to set a date on the mrp.area records until which no attempt to rebuild safety stock will be attempted: the safety stock will be used, if the running stock get below zero, then a resupply will be created to bring back the stock to zero.

The idea is that your area may be under tension at a given moment (maybe some workers are off, maybe there is high demand from customers) and you can barely keep up with the demand. In this case, you can set Safety stock rebuild lead date to a date in the future at which you anticipate that the situation will have been fixed.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you set a date on an MRP area until which safety stock is consumed instead of rebuilt, so the MRP scheduler only replenishes stock back to zero during busy or understaffed periods.

This module adds a "Safety stock lead date" to MRP areas. On the MRP area form and list you can enter the date from which you expect to start rebuilding safety stock again. The field defaults to today, so nothing changes until you push it into the future.

When the MRP scheduler runs, for any planning date before that target date it does not try to rebuild safety stock: it only orders enough to bring the running stock back to zero. Once the target date is reached, normal safety stock rebuilding resumes.

For each product/area combination the module also computes its own target date, taking the product's manufacturing lead time into account: the area date plus the lead time, never earlier than today. This is shown as the date when supplying for that product can restart.

  • Applies to mrp.area and product.mrp.area records.
  • Changes the MRP scheduler behaviour through mrp.multi.level.
  • Adds the date field to the MRP area form and list views.

No new menus or reports are added; the feature appears inside the existing MRP area screens and affects the multi-level MRP planning run.

Depends on

Models and fields (3)
  • mrp.area · extends an existing modelsafety_stock_target_date (Safety stock lead date)
  • mrp.multi.level · extends an existing model
  • product.mrp.area · extends an existing modelsafety_stock_target_date (Safety stock lead date)

Text generated by AI (DeepSeek) from reading the Odoo 18.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 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

When this module is installed, you get an additional parameter on the mrp.area records:

  • Safety stock lead date

Until that date, the MRP Multi Level planner will consume the safety stock without attempting to rebuild it, and only resupply if the forecasted stock goes below zero.

If the date is in the paste, nothing special happens.

No verified information in OCA: Installation, Configuration.

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.