[IMP] product: use eval-able True

When using safe_eval on this dict, "true" raises a NameError while "True"
is interpreted properly.
At the same time, this is more consistent with the rest of the code.

closes odoo/odoo#148203

X-original-commit: 0e91bf8b3956c1403e638421a91af3275b9e6489
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Ethan Hildick
2024-01-05 09:12:55 +00:00
committed by Antoine Vandevenne (anv)
parent 2cbfd87d49
commit 5022f68a42
+1 -1
View File
@@ -424,7 +424,7 @@
<field name="product_template_variant_value_ids" widget="many2many_tags" readonly="1" groups="product.group_product_variant"/>
</xpath>
<field name="product_tag_ids" position="attributes">
<attribute name="options">{'no_open': true}</attribute>
<attribute name="options">{'no_open': True}</attribute>
</field>
<field name="product_tag_ids" position="after">
<field name="additional_product_tag_ids" widget="many2many_tags"/>