Skip to content
Snippets Groups Projects
Commit fb372fb6 authored by Florian Damhaut's avatar Florian Damhaut
Browse files

[FIX] product : Decimal Accuracy for Value Price Extra


Issue :
'Value Price Extra' cannot have the N-digit Decimal Accuracy configuration but 'Product Price' can.
Solve :
Added field_digits to views
opw-2674006

closes odoo/odoo#79014

Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
parent f95356a7
No related branches found
No related tags found
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment