<?xml version="1.0"?>
<xpath expr="//group[@name='member_partner_info']" position="after">
                <group name="group_assign" attrs="{'invisible': [('assignment_enabled', '=', False)]}">
                    <field name="assignment_enabled" invisible="1"/>
                    <field name="assignment_optout"/>
                    <label for="lead_month_count" attrs="{'invisible': [('assignment_optout', '=', True)]}"/>
                    <div attrs="{'invisible': [('assignment_optout', '=', True)]}">
                        <field name="lead_month_count" class="oe_inline"/>
                        <span class="oe_inline"> / </span>
                        <field name="assignment_max" class="oe_inline"/>
                        <span class="oe_inline"> (max) </span>
                    </div>
                    <field name="assignment_domain" string="Domain" widget="domain" options="{'model': 'crm.lead'}" attrs="{'invisible': ['|', ('assignment_max', '=', 0), ('assignment_optout', '=', True)]}"/>
                </group>
            </xpath>
        