Convert sum attribute into boolean

This commit is contained in:
Albert Cervera i Areny 2023-06-10 17:16:00 +02:00
parent e35538ad57
commit 66e20b12e1
2 changed files with 4 additions and 4 deletions

View File

@ -3,12 +3,12 @@
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='untaxed_amount']" position="replace_attributes">
<field name="untaxed_amount" sum="Untaxed Amount"/>
<field name="untaxed_amount" sum="1"/>
</xpath>
<xpath expr="/tree/field[@name='tax_amount']" position="replace_attributes">
<field name="tax_amount" sum="Tax Amount"/>
<field name="tax_amount" sum="1"/>
</xpath>
<xpath expr="/tree/field[@name='total_amount']" position="replace_attributes">
<field name="total_amount" sum="Total Amount"/>
<field name="total_amount" sum="1"/>
</xpath>
</data>

View File

@ -3,6 +3,6 @@
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='amount']" position="replace_attributes">
<field name="amount" sum="Amount"/>
<field name="amount" sum="1"/>
</xpath>
</data>