Fix quantity picked in _get_anglo_saxon_move

consumed_qty must be increased on each loop.

issue4134
review9621002
This commit is contained in:
Cédric Krier committed 2014-09-04 22:50:14 +02:00
1 parent a8e4a58834
commit df305dffc0
1 file changed
+1
+1
View File
@@ -141,6 +141,7 @@ class Move:
cost_price = move.cost_price
yield (move, qty, cost_price)
consumed_qty += qty
@classmethod
def update_anglo_saxon_quantity_product_cost(cls, product, moves,