-
@@ -44,4 +43,4 @@
-
\ No newline at end of file
+
diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py
index 08d41c52a28..09a9096bd81 100644
--- a/addons/product/models/product_template.py
+++ b/addons/product/models/product_template.py
@@ -304,7 +304,7 @@ class ProductTemplate(models.Model):
# re-apply product.template order + name_get
return super(ProductTemplate, self).name_search(
- '', args=[('id', 'in', templates.ids)],
+ '', args=[('id', 'in', list(set(templates.ids)))],
operator='ilike', limit=limit)
@api.multi