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

<record model="ir.ui.view" id="crm_case_form_view_leads">
    <field name="name">Add employees field</field>
    <field name="model">crm.lead</field>
    <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
    <field name="arch" type="xml">
        <field name="partner_id" position="before">
            <field name="employees_range" placeholder="Employees range"
                   options='{"no_open": True}'/>
            <field name="employees_number"/>
        </field>
    </field>
</record>

<record model="ir.ui.view" id="crm_case_form_view_oppor">
    <field name="name">Add employees field</field>
    <field name="model">crm.lead</field>
    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
    <field name="arch" type="xml">
        <field name="partner_id" position="before">
            <field name="employees_range" placeholder="Employees range"
                   options='{"no_open": True}'/>
            <field name="employees_number"/>
        </field>
    </field>
</record>

</data>
</openerp>