[IMP] account_ebics_batch_payment: pre-fill EBICS file format from payment method

This commit is contained in:
Luc De Meyer
2026-08-04 18:39:20 +02:00
parent b08c20be60
commit 90b633347e
5 changed files with 64 additions and 3 deletions
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_account_journal_form_ebics_payment_method" model="ir.ui.view">
<field name="name">account.journal.form.ebics.payment.method</field>
<field name="model">account.journal</field>
<field name="inherit_id" ref="account.view_account_journal_form" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='inbound_payment_method_line_ids']//list"
position="inside"
>
<field
name="ebics_file_format_id"
optional="hide"
options="{'no_create': True}"
/>
</xpath>
<xpath
expr="//field[@name='outbound_payment_method_line_ids']//list"
position="inside"
>
<field
name="ebics_file_format_id"
optional="hide"
options="{'no_create': True}"
/>
</xpath>
</field>
</record>
</odoo>