Skip to main content

Allows to reserve max available quantity when a move comes from an stock rule

Project description

Odoo Community Association

Stock Rule Reserve Max Quantity

Alpha License: LGPL-3 OCA/stock-logistics-reservation Translate me on Weblate Try me on Runboat

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:

  1. Enter on debug mode

  2. On your Warehouse, activate 2 or 3 steps for Outgoing Shipments

  3. Go to Warehouse routes and open pick + ship (2 steps) or pick + pack + ship (3 steps)

  4. Activate Reserve Max Quantity under the Propagation group in all rule steps except the first one

  5. Create a sale with a storeable product and confirm it and has enough stock.

  6. Go to the first picking and set quantity done over the quantity demanded and validate it.

  7. 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

Authors

  • Moduon

Contributors

Other credits

The development of this module has been financially supported by:

  • Ulzama

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

Shide rafaelbn

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_stock_rule_reserve_max_quantity-18.0.1.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_stock_rule_reserve_max_quantity-18.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8047866b7af1dfb6134a22c867d6e6911c04fe5e5ed68aaa1a422dc5900ca02
MD5 72129ffcdcdebffd4216ed1f1f88832f
BLAKE2b-256 d0915438e02c6dfd7f42330899d3928198828628476ed5acb4fbdafe532e89d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page