<?xml version="1.0"?>
<xpath expr="//group[@name='member_partner_info']" position="after">
                <group name="group_assign" invisible="not assignment_enabled">
                    <field name="assignment_enabled" invisible="1"/>
                    <field name="assignment_optout"/>
                    <label for="lead_month_count" invisible="assignment_optout"/>
                    <div invisible="assignment_optout">
                        <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'}" invisible="assignment_max == 0 or assignment_optout"/>
                </group>
            </xpath>
        