vendor_payment_diff_amount/views/account_batch_payment_views.xml

15 lines
692 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_batch_payment_form_inherit_diff_amount" model="ir.ui.view">
<field name="name">account.batch.payment.form.inherit.diff.amount</field>
<field name="model">account.batch.payment</field>
<field name="inherit_id" ref="vendor_batch_payment_merge.view_batch_payment_form_inherit"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='direct_payment_line_ids']/tree/field[@name='expense_account_id']" position="after">
<field name="amount_substract"/>
<field name="substract_account_id"/>
</xpath>
</field>
</record>
</odoo>