<?xml version="1.0"?>
<openerp>
    <data noupdate="1">

        <!-- Crm stages -->
        <record model="crm.case.stage" id="stage_lead6">
            <field name="name">Lost</field>
            <field eval="'0'" name="probability"/>
            <field eval="'0'" name="sequence"/>
        </record>
        <record model="crm.case.stage" id="stage_lead1">
            <field name="name">New</field>
            <field eval="'10'" name="probability"/>
            <field eval="'11'" name="sequence"/>
        </record>
        <record model="crm.case.stage" id="stage_lead2">
            <field name="name">Qualification</field>
            <field eval="'20'" name="probability"/>
            <field eval="'12'" name="sequence"/>
        </record>
        <record model="crm.case.stage" id="stage_lead3">
            <field name="name">Proposition</field>
            <field eval="'40'" name="probability"/>
            <field eval="'13'" name="sequence"/>
        </record>
        <record model="crm.case.stage" id="stage_lead4">
            <field name="name">Negotiation</field>
            <field eval="'60'" name="probability"/>
            <field eval="'14'" name="sequence"/>
        </record>
        <record model="crm.case.stage" id="stage_lead5">
            <field name="name">Won</field>
            <field eval="'100'" name="probability"/>
            <field eval="'15'" name="sequence"/>
            <field eval="1" name="on_change"/>
        </record>
        <record model="crm.case.section" id="section_sales_department">
            <field name="name">Sales Department</field>
            <field name="code">Sales</field>
            <field name="stage_ids" eval="[(4, ref('stage_lead1')), (4, ref('stage_lead2')), (4, ref('stage_lead3')), (4, ref('stage_lead4')), (4, ref('stage_lead5')), (4, ref('stage_lead6'))]"/>
        </record>

        <!-- Crm campain -->
        <record model="crm.case.resource.type" id="type_lead1">
            <field name="name">Telesales</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead2">
            <field name="name">Mail Campaign 1</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead3">
            <field name="name">Mail Campaign 2</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead4">
            <field name="name">Twitter Ads</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead5">
            <field name="name">Google Adwords</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead6">
            <field name="name">Google Adwords 2</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead7">
            <field name="name">Television</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>
        <record model="crm.case.resource.type" id="type_lead8">
            <field name="name">Newsletter</field>
            <field name="section_id" ref="section_sales_department"/>
        </record>

        <!--  crm categories -->
        <record model="crm.case.categ" id="categ_oppor1">
            <field name="name">Interest in Computer</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor2">
            <field name="name">Interest in Accessories</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor3">
            <field name="name">Need Services</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor4">
            <field name="name">Need Information</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor5">
            <field name="name">Need a Website Design</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor6">
            <field name="name">Potential Reseller</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor7">
            <field name="name">Need Consulting</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>
        <record model="crm.case.categ" id="categ_oppor8">
            <field name="name">Other</field>
            <field name="section_id" ref="section_sales_department"/>
            <field name="object_id" search="[('model','=','crm.lead')]" model="ir.model"/>
        </record>

    </data>
</openerp>
