Use duplicate location_ids to not change it for issue152

This commit is contained in:
Cédric Krier committed 2008-06-28 13:55:24 +02:00
1 parent 5249cc7143
commit d81a5a3f2f
1 file changed
+1 -1
+1 -1
View File
@@ -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]) + ")"