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

    <record id="view_partner_property_form" model="ir.ui.view">
        <field name="model">res.partner</field>
        <field
            name="inherit_id"
            ref="account_payment_partner.view_partner_property_form"
        />
        <field name="arch" type="xml">
            <field name="customer_payment_mode_id" position="after">
                <field
                    name="contact_mandate_id"
                    options="{'no_create': True}"
                    domain="[('partner_id', '=', commercial_partner_id), ('state', '=', 'valid')]"
                />
            </field>
        </field>
    </record>

</odoo>
