[FIX] product: prevent modifying variant attributes

On the product_normal_form_view
to be consistent with the product_variant_easy_edit_view view.
product.attribute.value values should not be modified from the product view but
using the variant configuration from the product

Consistent with what was wanted at a4d88c9efd

Closes #23298
This commit is contained in:
Florent de Labarre
2018-03-14 10:47:37 +01:00
committed by Martin Trigaux
parent e449055189
commit 54942f0921
+2 -1
View File
@@ -339,7 +339,8 @@
</field>
</field>
<xpath expr="//div[hasclass('oe_title')]" position="inside">
<field name="attribute_value_ids" widget="many2many_tags" groups="product.group_product_variant"/>
<field name="attribute_value_ids" widget="many2many_tags" readonly="1"
groups="product.group_product_variant"/>
</xpath>
</field>
</record>