Stock Generate Putaway from Inventory
Synchronize a Product Putaway Location from an inventory. Note that this module assumes that there is a one-to-one correspondence between the location and putaway strategy, and if the location currently has no putaway strategy, an error will be raised.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a 'Generate putaway strategies' action on validated inventory records that creates or updates putaway rules for each product, based on where the product was actually found in the warehouse.
This module helps warehouse users keep putaway rules in line with reality after an inventory count. On a validated inventory (stock.inventory), a new server action called 'Generate putaway strategies' appears in the action menu.
When run, the module looks at each inventory line with a positive counted quantity and, for every location covered by the inventory, finds the child location where the product was actually stored. It then creates or updates a putaway rule (stock.putaway.rule) so that the same product will be directed to that location in the future.
Business rules shown in the code: - The inventory must be in the 'done' state; otherwise a validation error is raised asking the user to validate the inventory first. - Only lines with a quantity greater than zero are used. - If a putaway rule already exists for the product and the incoming location, its destination location is updated; otherwise a new rule is created.
The module touches the inventory screen and the putaway rules configuration, and relies on the location hierarchy provided by the stock_location_children dependency to know which child locations belong to the inventory's locations.
Depends on
Models and fields (1)
- stock.inventory · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0From a validated stock adjustment, use action -> Generate putaway per product.
The end result is that the location's putaway strategy will be updated, so that all products (and their locations) from the inventory will show up on the putaway strategy.
No verified information in OCA: Installation, Configuration.
Installation 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.