Browse Source

[FIX] digit attribute

pull/124/head
Cybrosys Technologies 7 years ago
committed by GitHub
parent
commit
29c83a1189
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      sale_discount_total/views/account_invoice_view.xml

4
sale_discount_total/views/account_invoice_view.xml

@ -8,7 +8,7 @@
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='discount']" position="attributes">
<attribute name="digits">(16, 2)</attribute>
<attribute name="digits">[16, 2]</attribute>
</xpath>
<xpath expr="//field[@name='amount_untaxed']" position="after">
<field name="amount_discount"/>
@ -32,7 +32,7 @@
<field name="inherit_id" ref="account.view_invoice_line_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='discount']" position="attributes">
<attribute name="digits">(16, 2)</attribute>
<attribute name="digits">[16, 2]</attribute>
</xpath>
</field>
</record>

Loading…
Cancel
Save