[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#79285 X-original-commit: fb372fb6cc7b6b7a21709154eef40ff99d7f49c0 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
<field name="display_type" optional="hide"/>
|
||||
<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>
|
||||
@@ -114,7 +114,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">
|
||||
|
||||
Reference in New Issue
Block a user