Fix typo in pick_product consumable for issue736

This commit is contained in:
Cédric Krier committed 2009-01-08 14:45:17 +01:00
1 parent 1cae397df6
commit 47ef607b6c
1 file changed
+1 -1
+1 -1
View File
@@ -489,7 +489,7 @@ class Product(OSV):
needed_qty -= available_qty
# Force assignation for consumables:
if move.product.type == "consumable":
to_pick.append((move.from_location.id, needed_qty))
to_pick.append((move.from_location, needed_qty))
return to_pick
return None