From 47ef607b6c05217b1b0ff34454ce38e40f76fc2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 8 Jan 2009 14:45:17 +0100 Subject: [PATCH] Fix typo in pick_product consumable for issue736 --- product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product.py b/product.py index 310edf51cc..88294fdece 100644 --- a/product.py +++ b/product.py @@ -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