Deltatech Putaway Strategy
by Deltatech https://www.terrabit.ro , Terrabit https://www.terrabit.ro| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 254 |
| Technical Name |
deltatech_putaway_strategy |
| License | LGPL-3 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
Deltatech Putaway Strategy
Location capacities and enhanced putaway strategy for Inventory
This module extends Odoo Inventory locations with simple capacity tracking and enhances the putaway decision logic.
Key features
- ✓Adds capacity fields on
stock.location:Max products (leaf): manual capacity for leaf locations.Max products: computed capacity for any location (sum of children for non‑leaf locations).Current quantity: computed on‑hand quantity per location.Planned quantity: computed incoming quantity per location based on pending moves.Occupancy: computed ratiocurrent/max(clamped to [0, 1]).
- ✓Optimized computation for large hierarchies:
- Single batched
read_grouponstock.quantfor all leaf locations in the batch. - Batched
read_grouponstock.move.linefor planned quantities. - Bottom‑up in‑memory aggregation for parent locations.
- Single batched
- ✓Smarter putaway:
- Respects capacity on leaf locations when suggesting destinations.
- Automatically splits move lines if a destination location reaches its maximum capacity.
- Prefers empty child locations when possible (if search sublocation is enabled).
- Optimized rule lookup with database indexes on
product_idandsequenceforstock.putaway.rule. - Keeps full compatibility with Odoo’s storage category rules (max weight, product/pack capacities, allow new product rules, etc.).
Usage
- Set
Max products (leaf)on leaf locations that should have a maximum capacity. - Use standard operations (receipts, internal transfers). The putaway
helper will:
- reject over‑capacity destinations,
- and try to choose an empty child location first when appropriate.
- The computed fields can be shown in location tree or used by other modules (e.g., visual warehouse map).
Performance notes
- The occupancy compute reduces SQL calls from O(N) per leaf to O(1) per
batch using a single
read_group, mirroring the efficient pattern from Odoo’s_compute_weight.
Compatibility
- Designed to work alongside modules that display warehouse maps or
dashboards. The module
deltatech_warehouse_mapcan depend on this one to display the capacity and occupancy KPIs.
Tests
- Includes TransactionCase tests that validate:
- capacity enforcement via
_check_can_be_used, - putaway preference for empty child locations via
_get_putaway_strategy, - automatic splitting of move lines when capacity is reached,
- planned quantity calculations.
- capacity enforcement via
Screenshots
The app store gallery uses the images from static/description/.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Deltatech
- Terrabit
Maintainers
Current maintainer:

This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
Need help getting started?
We are an Odoo partner building apps for the Romanian market (SAGA & WinMentor export; Romanian accounting localization in progress). Direct support from the team that built the module.
Contact Terrabit →
Please log in to comment on this module