diff --git a/product.py b/product.py index 316db2f03b..1629abc5ab 100644 --- a/product.py +++ b/product.py @@ -132,12 +132,12 @@ class Product(OSV): return res - def copy(self, cursor, user, product_id, default=None, context=None): + def copy(self, cursor, user, ids, default=None, context=None): if default is None: default = {} default = default.copy() default['products'] = False - return super(Product, self).copy(cursor, user, product_id, + return super(Product, self).copy(cursor, user, ids, default=default, context=context) Product()