Add issue5578.diff
This commit is contained in:
parent
385b454b32
commit
b7a8c1f5fe
|
@ -0,0 +1,20 @@
|
|||
diff -r 10d517bd46f1 trytond/trytond/modules/stock/move.py
|
||||
--- a/trytond/trytond/modules/stock/move.py Wed Nov 14 09:54:25 2018 +0100
|
||||
+++ b/trytond/trytond/modules/stock/move.py Wed Nov 14 09:55:39 2018 +0100
|
||||
@@ -907,6 +907,7 @@
|
||||
if move.state == 'staging':
|
||||
success = False
|
||||
continue
|
||||
+ to_location = move.to_location
|
||||
# Keep location order for pick_product
|
||||
location_qties = OrderedDict()
|
||||
if with_childs:
|
||||
@@ -919,6 +920,8 @@
|
||||
else:
|
||||
childs = [move.from_location]
|
||||
for location in childs:
|
||||
+ if location.id == to_location.id:
|
||||
+ continue
|
||||
key = get_key(move, location)
|
||||
if key in pbl:
|
||||
location_qties[location] = Uom.compute_qty(
|
7
series
7
series
|
@ -18,7 +18,8 @@ search_warehouse.diff #[stock] search function for warehouse.
|
|||
improve_performance_on_try_assign.diff # [stock] change browse of product to get default_uom to pysql
|
||||
|
||||
issue240_631.diff # [stock_lot] stock_by_locations get all locations with that lot.
|
||||
issue10467.diff # stock_lot: add lot to grouping if lot it's required on product
|
||||
issue53451002_1_10001.diff #stock: Allow configuring which quantity is grouped in compute_quantities_query() needed by stock_number_of_packages
|
||||
issue10467.diff # [stock_lot] add lot to grouping if lot it's required on product
|
||||
issue53451002_1_10001.diff # [stock] Allow configuring which quantity is grouped in compute_quantities_query() needed by stock_number_of_packages
|
||||
issue7826.diff # [stock_package] Total packages moves are all
|
||||
lock_stock_move.diff #[stock] Function to overwrite if lock table or not
|
||||
lock_stock_move.diff # [stock] Function to overwrite if lock table or not
|
||||
issue7856.diff # [stock] Can't move qty from a parent location to child location
|
||||
|
|
Loading…
Reference in New Issue