diff --git a/addons/product/views/product_attribute_views.xml b/addons/product/views/product_attribute_views.xml index c8f1eba860e83874b9805fdd39b68fd6aa78fe34..6db0a263298dce122dcc8441830384f087b200f6 100644 --- a/addons/product/views/product_attribute_views.xml +++ b/addons/product/views/product_attribute_views.xml @@ -93,7 +93,7 @@ <field name="display_type"/> <field name="html_color" attrs="{'invisible': [('display_type', '!=', 'color')]}" widget="color"/> <field name="ptav_active" optional="hide"/> - <field name="price_extra" widget="monetary"/> + <field name="price_extra" widget="monetary" options="{'field_digits': True}"/> <field name="currency_id" invisible="1"/> </tree> </field> @@ -111,7 +111,7 @@ <field name="name"/> <field name="display_type" invisible="1"/> <field name="html_color" attrs="{'invisible': [('display_type', '!=', 'color')]}"/> - <field name="price_extra" widget="monetary"/> + <field name="price_extra" widget="monetary" options="{'field_digits': True}"/> <field name="currency_id" invisible="1"/> <field name="exclude_for" widget="one2many" mode="tree"> <tree editable="bottom">