Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.1
Category
Manufacturing
Folder size
0.04 MB
License
LGPL-3
Application
Yes
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 08:42:53
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Camille Morand
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits mrp_multi_level.mrp_area_form
mrp_area_list mrp area list mrp.area list Inherits mrp_multi_level.mrp_area_list
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.