[ADD][12.0] stock_generate_putaway_from_inventory: Add to 12.0

fixup! Simplified exceptions in case inventory is not validated or inventory's location doesn't have a putaway strategy
This commit is contained in:
Kevin Khao
2020-02-27 11:18:36 +01:00
committed by Pierrick Brun
parent fd8977714c
commit ef0ef6d115
15 changed files with 275 additions and 188 deletions

View File

@@ -1 +1,4 @@
Pierrick Brun <pierrick.brun@akretion.com> (akretion.com)
* Pierrick Brun <pierrick.brun@akretion.com>
* David Beal <david.beal@akretion.com>
* Sébastien Beau <sebastien.beau@akretion.com>
* Kevin Khao <kevin.khao@akretion.com>

View File

@@ -1 +1 @@
Generates Product Putaway Location from an 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.

View File

@@ -1,2 +0,0 @@
At the moment, the module only creates putaway locations and does not update
the existing ones. It could be interesing to do so but can be destructive as well

View File

@@ -1,8 +1,3 @@
Before using this module you should specify a putaway strategy on the stock location
you want to generate putaway for. You can find similar instructions on the
stock_putaway_product module which is a dependency.
From a validated stock adjustment, use action -> Generate putaway per product.
Once this is done, the products of the stock adjustment without putaway locations
will have one of the strategy defined on the inventory's location.
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.