From d81a5a3f2f2326140f9cb4fcb4076607e336da8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 28 Jun 2008 13:55:24 +0200 Subject: [PATCH] Use duplicate location_ids to not change it for issue152 --- product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product.py b/product.py index 1ba38f8157..28854da791 100644 --- a/product.py +++ b/product.py @@ -107,7 +107,7 @@ class Product(OSV): where_clause = "location IN (" + \ ",".join(["%s" for i in location_ids]) + ") " - where_ids = location_ids + where_ids = location_ids[:] if product_ids: where_clause += "AND product in (" + \ ",".join(["%s" for i in product_ids]) + ")"