<?xml version="1.0"?>
<data><field name="code" invisible="1" position="after">
                <field name="custom_mode" invisible="1"/>
            </field>
            <page name="credentials" position="attributes">
                <attribute name="invisible" separator="or" add="code == 'custom'"/>
            </page>
            <field name="payment_method_ids" position="attributes">
                <attribute name="invisible" separator="or" add="code == 'custom'"/>
            </field>
            <a name="action_view_payment_methods" position="attributes">
                <attribute name="invisible" separator="or" add="code == 'custom'"/>
            </a>
            <field name="capture_manually" position="after">
                <field name="qr_code" invisible="code != 'custom'"/>
            </field>
            <group name="payment_followup" position="attributes">
                <attribute name="invisible">code == 'custom'</attribute>
            </group>
            <field name="pre_msg" position="attributes">
                <attribute name="invisible" separator="or" add="code == 'custom'"/>
            </field>
            <field name="pending_msg" position="after">
                <div class="o_row" colspan="2" invisible="custom_mode != 'wire_transfer'">
                    <button string=" Reload Pending Message" type="object" name="action_recompute_pending_msg" class="oe_link ms-0 ps-0" icon="fa-refresh"/>
              </div>
            </field>
            <field name="done_msg" position="attributes">
                <attribute name="invisible" separator="or" add="code == 'custom'"/>
            </field>
            <field name="cancel_msg" position="attributes">
                <attribute name="invisible" separator="or" add="code == 'custom'"/>
            </field>
        </data>