diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-09-16 13:47:41 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-09-25 07:20:36 +0000 |
| commit | 6fea5b42d6ddabb83daf95b8d68021b05144cf42 (patch) | |
| tree | b8a1e42f9d921177338dec37e5d0719d10732dd2 /addons/product/views | |
| parent | e6d2175577afe16de42d8f01247434977b7f4ba8 (diff) | |
[IMP] *: editable readonly list views: adapt views
Since the commit allowing all list views to be editable, there are some
views in which we need to ensure that certain fields are always readonly.
Affected modules:
- account
- crm
- product
- purchase
- sale
Task 1967602
Diffstat (limited to 'addons/product/views')
| -rw-r--r-- | addons/product/views/product_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 17ced8bd480..33c51a98d11 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -300,7 +300,7 @@ <field name="default_code" optional="show"/> <field name="barcode" optional="hide"/> <field name="name"/> - <field name="product_template_attribute_value_ids" widget="many2many_tags" groups="product.group_product_variant"/> + <field name="product_template_attribute_value_ids" widget="many2many_tags" groups="product.group_product_variant" readonly="1"/> <field name="company_id" groups="base.group_multi_company" optional="hide"/> <field name="lst_price" optional="show" string="Sales Price"/> <field name="standard_price" optional="show"/> |
