<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record id="view_account_journal_form" model="ir.ui.view">
            <field name="name">account.journal.form</field>
            <field name="model">account.journal</field>
            <field name="inherit_id" ref="account.view_account_journal_form"/>
            <field name="arch" type="xml">
                <xpath expr="//page[@id='outbound_payment_settings']//group[@name='outgoing_payment']" position="inside">
                    <group string="SEPA Credit Transfer" invisible="not has_sepa_ct_payment_method">
                        <field name="sepa_pain_version" required="1"/>
                    </group>
                </xpath>
            </field>
        </record>
    </data>
</odoo>
