Stock Rule Reserve Max Quantity
This module extends the functionality of chained (pull) stock reservation to support the reservation of the total quantity brought by the done and pregenerated chained move lines. By default, the reservation on each step of the chain is limited to the need. If you pick more than the need, with this module the chained moves will reserve the total picked quantity.
This operation will only apply when the available quantity exceeds the demanded quantity and the stock rule linked to the stock move has the field Reserve Max Quantity activated.
This module is not needed if you use chained pickings and the creation of those is placed when the a picking is validated.
Table of contents
Use Cases / Context
This module was developed because if you want to send variable product weights with Warehouse configured with 2 or 3 steps for Outgoing Shipments, you have to double check the quantity done on every picking if the quantity done exceedes the demand quantity.
It will be useful for you if you want to auto-reserve all the quantities done in the last steps for Outgoing Shipments.
Usage
To use this module, you need to:
Enter on debug mode
On your Warehouse, activate 2 or 3 steps for Outgoing Shipments
Go to Warehouse routes and open pick + ship (2 steps) or pick + pack + ship (3 steps)
Activate Reserve Max Quantity under the Propagation group in all rule steps except the first one
Create a sale with a storeable product and confirm it and has enough stock.
Go to the first picking and set quantity done over the quantity demanded and validate it.
Check that the next picking will reserve the entire quantity previously made instead of the quantity demanded.
Known issues / Roadmap
When reserving stock on the delivery note that has activated the reserve_max_quantity flag, if you reserve stock and it matches exactly the initially demanded quantity, it will stop reserving.
Example: Pick: 2 units requested, 3 units made in 3 different move lines. (1 + 1 + 1) Ship: 2 units requested. Stock will only be taken until the 2 units are reached. (1 + 1)
This happens because there comes a time when the demand to cover the initial need is 0, and the line of 1 unit will be left untaken because all has been satisfied.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Other credits
The development of this module has been financially supported by:
Ulzama
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/stock-logistics-reservation project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Release files for odoo-addon-stock-rule-reserve-max-quantity 18.0.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_stock_rule_reserve_max_quantity-18.0.1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_stock_rule_reserve_max_quantity-18.0.1.0.1-py3-none-any.whl
| Download URL | odoo_addon_stock_rule_reserve_max_quantity-18.0.1.0.1-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3fd7f1b4cf8df96e572778943023538e12cef8e4a7eeb1f3f3deabbeb763346
|
|
BLAKE2b-256 checksum How to use checksums |
72cc7f2194f0d86d1b85f362c6c7ed6d35b088f6fa305c181272826cd85c200b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|