MRP Multi Level Consume Safety Stock

mrp_multi_level_consume_safety_stock
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/18.0/mrp_multi_level_consume_safety_stock
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Camille Morand
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/stock-logistics-warehouse:
    - stock_warehouse_calendar
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - purchase_stock
    - stock_account
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
mrp_area_form mrp area form mrp.area field Inherits mrp_multi_level.mrp_area_form
mrp_area_list mrp area list mrp.area field Inherits mrp_multi_level.mrp_area_list
Models touched (3)

New fields (1)
  • safety_stock_target_date Date
    default=fields.Date.today help='We will start rebuilding safety stock on that date' string='Safety stock lead date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • safety_stock_target_date Date
    compute='_compute_safety_stock_target_date' help='The date when we can restart supplying for this product' string='Safety stock lead date'
Public methods (0)

No public methods.