Add the Storage Capacity Limit field to stock buffers, which restricts recommended procurement quantity to ensure that the limits of storage are never surpassed.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a storage capacity limit to stock buffers so Odoo never recommends buying more than the location can hold. Users set the maximum quantity on the buffer form and the procurement recommendation is automatically capped.
This module extends the DDMRP stock buffer screen with a new field called Storage Capacity Limit. You enter the maximum quantity that the storage location can hold for the product.
Once a limit is set, Odoo automatically reduces the recommended procurement quantity so that the quantity already on location plus incoming short-term quantities never exceed that limit. If the calculated limit is below the buffer's minimum quantity, the recommendation becomes zero instead of a negative or too-small order. If the buffer uses a purchase multiple, the recommendation is rounded down to that multiple.
The module also tracks the quantity currently on location on the buffer, which is used in the calculation. The limit is only applied when it is greater than zero; buffers without a limit keep their normal behaviour.
- Where it appears: on the stock buffer form, right after the lead days field.
- What it changes: the recommended procurement quantity shown on the buffer.
- Business rule: never propose a procurement that would push on-hand plus short-term incoming quantity above the storage capacity limit, even if this creates planning or execution alerts.
- It touches the
stock.buffermodel and its procurement recommendation computation.
Depends on
Models and fields (1)
- stock.buffer · extends an existing modelproduct_location_qty (Quantity On Location), storage_capacity_limit
Text generated by AI (DeepSeek) from reading the Odoo 19.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-03Confirmation status: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/ddmrp.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.