Use duplicate location_ids to not change it for issue152
This commit is contained in:
1 parent
5249cc7143
commit
d81a5a3f2f
1 file changed
+1
-1
+1
-1
@@ -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]) + ")"
|
||||
|
||||
Reference in new issue
Block a user