diff --git a/addons/mrp/views/ir_attachment_view.xml b/addons/mrp/views/ir_attachment_view.xml index 8ba2f3ba123..c23f71513bf 100644 --- a/addons/mrp/views/ir_attachment_view.xml +++ b/addons/mrp/views/ir_attachment_view.xml @@ -18,7 +18,7 @@
- -
-
- -
-
- +
+
+
+
+ +
@@ -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