trytond-account_bank/view/move_line_list.xml

26 lines
1.1 KiB
XML

<?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='debit']" position="replace_attributes">
<field name="debit" sum="Total Debit"/>
</xpath>
<xpath expr="/tree/field[@name='credit']" position="replace_attributes">
<field name="credit" sum="Total Credit"/>
</xpath>
<xpath expr="/tree/button[@name='payment_block']" position="replace_attributes">
<button name="payment_block" tree_invisible="1"/>
</xpath>
<xpath expr="/tree/button[@name='payment_unblock']" position="replace_attributes">
<button name="payment_unblock" tree_invisible="1"/>
</xpath>
<xpath expr="/tree/field[@name='payment_type']" position="after">
<field name="bank_account"/>
</xpath>
<xpath expr="/tree/field[@name='amount_second_currency']" position="replace">
</xpath>
<xpath expr="/tree/field[@name='second_currency']" position="before">
<field name="amount_second_currency"/>
</xpath>
</data>