Add issue5578.diff

This commit is contained in:
Raimon Esteve 2018-11-14 09:46:52 +01:00
parent fd92f5cbdb
commit 36e94d3960
2 changed files with 13 additions and 0 deletions

12
issue7856.diff Normal file
View File

@ -0,0 +1,12 @@
diff -r 52798eba8ca0 trytond/trytond/modules/stock/move.py
--- a/trytond/trytond/modules/stock/move.py Wed Nov 14 09:42:58 2018 +0100
+++ b/trytond/trytond/modules/stock/move.py Wed Nov 14 09:44:58 2018 +0100
@@ -812,6 +812,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(

1
series
View File

@ -81,3 +81,4 @@ issue6322_6501.diff
issue7129.diff # [account_payment] Slow to list Lines to Pay
issue7395.diff # [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
support_postgresql10_6789.patch
issue7856.diff # [stock] Can't move qty from a parent location to child location