diff options
| author | Adrian Torres <adt@odoo.com> | 2020-02-11 09:36:40 +0000 |
|---|---|---|
| committer | Adrian Torres <adt@odoo.com> | 2020-02-12 11:09:05 +0000 |
| commit | 97a5093117782eddd207a379f78dbe8e32d88fa4 (patch) | |
| tree | 0f17e718946bd2d436a9be39f1bcccd7c9dbdb94 /addons/product/views | |
| parent | eb08ac11ff96456ba1df237c5850049c104739a8 (diff) | |
[FIX] *: specify at least one field in search views
Without at least one field, performing a search in these models' search
view is outright impossible.
closes odoo/odoo#45177
X-original-commit: 0aabfbff3ce5d68bf37e1734ba7aa43f62803f3a
Related: odoo/enterprise#8379
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/product/views')
| -rw-r--r-- | addons/product/views/product_attribute_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/product/views/product_attribute_views.xml b/addons/product/views/product_attribute_views.xml index 14195ce0e5c..16bb8c82422 100644 --- a/addons/product/views/product_attribute_views.xml +++ b/addons/product/views/product_attribute_views.xml @@ -117,6 +117,7 @@ <field name="model">product.template.attribute.value</field> <field name="arch" type="xml"> <search> + <field name="name"/> <filter string="Active" name="active" domain="[('ptav_active', '=', True)]"/> <filter string="Inactive" name="inactive" domain="[('ptav_active', '=', False)]"/> </search> |
