<?xml version="1.0" encoding="UTF-8"?>
<odoo>

    <record id="payment_provider_form" model="ir.ui.view">
        <field name="name">payment.provider.form</field>
        <field name="model">payment.provider</field>
        <field name="inherit_id" ref="payment.payment_provider_form"/>
        <field name="arch" type="xml">
            <group name="payment_followup" position="attributes">
                <attribute name="invisible">
                    0
                </attribute>
            </group>
            <group name="payment_followup" position="inside">
                <field name="journal_id"
                    context="{'default_type': 'bank'}"
                    required="state != 'disabled' and code not in ['none', 'custom']"/>
                <field name="support_refund" groups="base.group_no_one"/>
            </group>
            <field name="available_country_ids" position="after">
                <field
                    name="available_pricelist_ids"
                    widget="many2many_tags"
                    placeholder="All Pricelists"
                    options="{'no_create': True}"
                />
            </field>
        </field>
    </record>

</odoo>
