<?xml version="1.0"?>
<openerp>
    <data noupdate="1">
        <!-- Demo Leads -->
        <record id="crm_case_itisatelesalescampaign0" model="crm.lead">
            <field name="type_id" ref="crm.type_lead1"/>
            <field eval="'3'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'Luc Latour'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(726) 782-0636'" name="mobile"/>
            <field eval="1" name="active"/>
            <field name="categ_id" ref="crm.categ_oppor6"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="'The Oil Company'" name="name"/>
            <field eval="'(769) 703-274'" name="phone"/>
        </record>

        <record id="crm_case_electonicgoodsdealer0" model="crm.lead">
            <field name="type_id" ref="crm.type_lead7"/>
            <field eval="'4'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'Marc Dufour'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(392) 895-7917'" name="mobile"/>
            <field eval="1" name="active"/>
            <field name="categ_id" ref="crm.categ_oppor2"/>
            <field name="stage_id" ref="crm.stage_lead2"/>
            <field eval="'Le Club SARL'" name="name"/>
            <field eval="'(956) 293-2595'" name="phone"/>
        </record>

        <record id="crm_case_developingwebapplications0" model="crm.lead">
            <field name="type_id" ref="crm.type_lead5"/>
            <field eval="'2'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_demo"/>
            <field eval="'Fabien Pinckaers'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(820) 167-3208'" name="mobile"/>
            <field eval="1" name="active"/>
            <field name="categ_id" ref="crm.categ_oppor4"/>
            <field name="stage_id" ref="crm.stage_lead4"/>
            <field eval="'TheKompany'" name="name"/>
            <field eval="'(079) 681-2139'" name="phone"/>
            <field eval="'contact@tecsas.fr'" name="email_from"/>
        </record>
        <record id="crm_case_qrecorp0" model="crm.lead">
            <field name="type_id" ref="crm.type_lead8"/>
            <field eval="'3'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'Henry Mc Coy'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(077) 582-4035'" name="mobile"/>
            <field eval="1" name="active"/>
            <field name="categ_id" ref="crm.categ_oppor1"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="'The Gas Company'" name="name"/>
            <field eval="'(514) 698-4118'" name="phone"/>
        </record>

        <record id="crm_case_itdeveloper0" model="crm.lead">
            <field name="type_id" ref="crm.type_lead4"/>
            <field eval="'3'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'Carrie Helle'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(333) 715-1450'" name="mobile"/>
            <field eval="1" name="active"/>
            <field name="categ_id" ref="crm.categ_oppor6"/>
            <field name="stage_id" ref="crm.stage_lead3"/>
            <field eval="'Stonage IT'" name="name"/>
            <field eval="'(855) 924-4364'" name="phone"/>
        </record>
        
        <record id="crm_case_mgroperations0" model="crm.lead">
            <field name="partner_address_id" ref="base.res_partner_address_1"/>
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead3"/>
            <field name="partner_id" ref="base.res_partner_9"/>
            <field eval="'3'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'Tina Pinero'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(468) 017-2684'" name="mobile"/>
            <field name="categ_id" ref="crm.categ_oppor8"/>
            <field name="stage_id" ref="crm.stage_lead6"/>
            <field eval="'Opensides SPRL'" name="name"/>
            <field eval="'(373) 907-1009'" name="phone"/>
            <field eval="'info@opensides.be'" name="email_from"/>
        </record>
        <record id="crm_case_vpoperations0" model="crm.lead">
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead8"/>
            <field eval="'3'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'Wendi Baltz'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field eval="'(463) 014-1208'" name="mobile"/>
            <field name="categ_id" ref="crm.categ_oppor4"/>
            <field name="stage_id" ref="crm.stage_lead4"/>
            <field eval="'Gardner Group'" name="name"/>
            <field eval="'(282) 603-7489'" name="phone"/>
        </record>
        <record id="crm_case_webvisitor0" model="crm.lead">
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead5"/>
            <field eval="&quot;1&quot;" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_demo"/>
            <field eval="&quot;Questionnaire&quot;" name="name"/>
            <field eval="&quot;open&quot;" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor6"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="&quot;Website Visitor&quot;" name="partner_name"/>
            <field eval="&quot;smith_john@gmail.com&quot;" name="email_from"/>
        </record>
        <record id="crm_case_business_card0" model="crm.lead">
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead3"/>
            <field eval="&quot;2&quot;" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="&quot;Marketing Products&quot;" name="name"/>
            <field eval="&quot;open&quot;" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor5"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="&quot;Business Card&quot;" name="partner_name"/>
        </record>
        <record id="crm_case_imported_contact0" model="crm.lead">
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead8"/>
            <field eval="&quot;2&quot;" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_demo"/>
            <field eval="&quot;Business Group&quot;" name="name"/>
            <field eval="&quot;cancel&quot;" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor1"/>
            <field name="stage_id" ref="crm.stage_lead2"/>
            <field eval="&quot;Imported Contact&quot;" name="partner_name"/>
        </record>
        <record id="crm_case_employee0" model="crm.lead">
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead3"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="&quot;OpenERP Campaining&quot;" name="name"/>
            <field eval="&quot;draft&quot;" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor3"/>
            <field name="stage_id" ref="crm.stage_lead3"/>
            <field eval="&quot;Campaining&quot;" name="partner_name"/>
        </record>
        <record id="crm_case_company_partnership0" model="crm.lead">
            <field eval="1" name="active"/>
            <field name="type_id" ref="crm.type_lead3"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_demo"/>
            <field eval="&quot;Offer&quot;" name="name"/>
            <field eval="&quot;done&quot;" name="state"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor7"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="&quot;Partnership Offer&quot;" name="partner_name"/>
       </record>

        <!--        Call Function to Open the leads-->
        <function model="crm.lead" name="case_open">
            <value eval="[ref('crm_case_itisatelesalescampaign0'), ref('crm_case_electonicgoodsdealer0'), ref('crm_case_company_partnership0'), ref('crm_case_webvisitor0'), ref('crm_case_business_card0')]"/>
        </function>
        <!--        Call Function to mark the lead as Pending-->
        <function model="crm.lead" name="case_pending">
            <value eval="[ref('crm_case_itdeveloper0')]"/>
        </function>
        <!--        Call Function to Close the leads-->
        <function model="crm.lead" name="case_close">
            <value eval="[ref('crm_case_vpoperations0'), ref('crm_case_developingwebapplications0'), ref('crm_case_webvisitor0')]"/>
        </function>
        <!--        Call Function to Cancel the leads-->
        <function model="crm.lead" name="case_cancel">
            <value eval="[ref('crm_case_mgroperations0'), ref('crm_case_imported_contact0')]"/>
        </function>

        <!-- Demo Opportunities -->
        <record id="crm_case_construstazunits0" model="crm.lead">
            <field eval="60" name="probability"/>
            <field name="partner_address_id" ref="base.res_partner_address_zen"/>
            <field eval="1" name="active"/>
            <field name="type">opportunity</field>
            <field name="type_id" ref="crm.type_lead1"/>
            <field name="partner_id" ref="base.res_partner_3"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="user_id" ref="base.user_root"/>
            <field eval="&quot;open&quot;" name="state"/>
            <field eval="85000.0" name="planned_revenue"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor1"/>
            <field name="stage_id" ref="crm.stage_lead3"/>
            <field eval="&quot;CONS TRUST (AZ) 529701 - 1000 units&quot;" name="name"/>
        </record>
        <record id="crm_case_rdroundfundingunits0" model="crm.lead">
            <field name="partner_address_id" ref="base.res_partner_address_15"/>
            <field eval="1" name="active"/>
            <field name="type">opportunity</field>
            <field name="type_id" ref="crm.type_lead2"/>
            <field name="partner_id" ref="base.res_partner_11"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="user_id" ref="base.user_root"/>
            <field eval="&quot;draft&quot;" name="state"/>
            <field eval="45000.0" name="planned_revenue"/>
            <field eval="50" name="probability"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor5"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="&quot;3rd Round Funding - 1000 units &quot;" name="name"/>
        </record>
        <record id="crm_case_mediapoleunits0" model="crm.lead">
            <field eval="10" name="probability"/>
            <field name="partner_address_id" ref="base.res_partner_address_3"/>
            <field eval="1" name="active"/>
            <field name="type">opportunity</field>
            <field name="type_id" ref="crm.type_lead1"/>
            <field name="partner_id" ref="base.res_partner_8"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="user_id" ref="base.user_root"/>
            <field eval="&quot;pending&quot;" name="state"/>
            <field eval="55000.0" name="planned_revenue"/>
            <field eval="70" name="probability"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor7"/>
            <field name="stage_id" ref="crm.stage_lead5"/>
            <field eval="&quot;Mediapole - 5000 units&quot;" name="name"/>
            <field eval="&quot;info@mycompany.net&quot;" name="email_from"/>
        </record>
        <record id="crm_case_abcfuelcounits0" model="crm.lead">
            <field eval="40" name="probability"/>
            <field name="partner_address_id" ref="base.res_partner_address_1"/>
            <field eval="1" name="active"/>
            <field name="type">opportunity</field>
            <field name="type_id" ref="crm.type_lead1"/>
            <field name="partner_id" ref="base.res_partner_9"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="user_id" ref="base.user_demo"/>
            <field eval="&quot;open&quot;" name="state"/>
            <field eval="45000.0" name="planned_revenue"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor5"/>
            <field name="stage_id" ref="crm.stage_lead4"/>
            <field eval="&quot;ABC FUEL CO 829264 - 1000 units &quot;" name="name"/>
            <field eval="&quot;info@opensides.be&quot;" name="email_from"/>
        </record>
        <record id="crm_case_dirtminingltdunits0" model="crm.lead">
            <field eval="80" name="probability"/>
            <field name="partner_address_id" ref="base.res_partner_address_wong"/>
            <field eval="1" name="active"/>
            <field name="type">opportunity</field>
            <field name="partner_id" ref="base.res_partner_maxtor"/>
            <field eval="&quot;3&quot;" name="priority"/>
            <field name="user_id" ref="base.user_root"/>
            <field eval="&quot;done&quot;" name="state"/>
            <field eval="42000.0" name="planned_revenue"/>
            <field name="section_id" ref="crm.section_sales_department"/>
            <field name="categ_id" ref="crm.categ_oppor2"/>
            <field name="stage_id" ref="crm.stage_lead6"/>
            <field eval="&quot;Dirt Mining Ltd 271742 - 1000 units&quot;" name="name"/>
        </record>
    </data>
</openerp>
