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

        <record id="sale_order_1" model="sale.order">
            <field name="partner_id" ref="base.res_partner_2"/>
            <field name="partner_invoice_id" ref="base.res_partner_2"/>
            <field name="partner_shipping_id" ref="base.res_partner_2"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_demo"/>
            <field name="pricelist_id" ref="product.list0"/>
        </record>

        <record id="sale_order_line_1" model="sale.order.line">
            <field name="order_id" ref="sale_order_1"/>
            <field name="name">Laptop E5023</field>
            <field name="product_id" ref="product.product_product_25"/>
            <field name="product_uom_qty">3</field>
            <field name="product_uos_qty">3</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">2950.00</field>
        </record>

        <record id="sale_order_line_2" model="sale.order.line">
            <field name="order_id" ref="sale_order_1"/>
            <field name="name">Pen drive, 16GB</field>
            <field name="product_id" ref="product.product_product_30"/>
            <field name="product_uom_qty">5</field>
            <field name="product_uos_qty">5</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">145.00</field>
        </record>

        <record id="sale_order_line_3" model="sale.order.line">
            <field name="order_id" ref="sale_order_1"/>
            <field name="name">Headset USB</field>
            <field name="product_id" ref="product.product_product_33"/>
            <field name="product_uom_qty">2</field>
            <field name="product_uos_qty">2</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">65.00</field>
        </record>

        <record id="sale_order_2" model="sale.order">
            <field name="partner_id" ref="base.res_partner_7"/>
            <field name="partner_invoice_id" ref="base.res_partner_address_13"/>
            <field name="partner_shipping_id" ref="base.res_partner_address_13"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="pricelist_id" ref="product.list0"/>
            <field name="order_policy">manual</field>
        </record>

        <record id="sale_order_line_4" model="sale.order.line">
            <field name="order_id" ref="sale_order_2"/>
            <field name="name">Service on demand</field>
            <field name="product_id" ref="product.product_product_consultant"/>
            <field name="product_uom_qty">24</field>
            <field name="product_uos_qty">24</field>
            <field name="product_uom" ref="product.product_uom_hour"/>
            <field name="price_unit">75.00</field>
        </record>

        <record id="sale_order_line_5" model="sale.order.line">
            <field name="order_id" ref="sale_order_2"/>
            <field name="name">On Site Assistance</field>
            <field name="product_id" ref="product.product_product_2"/>
            <field name="product_uom_qty">30</field>
            <field name="product_uos_qty">30</field>
            <field name="product_uom" ref="product.product_uom_hour"/>
            <field name="price_unit">38.25</field>
        </record>

        <record id="sale_order_3" model="sale.order">
            <field name="partner_id" ref="base.res_partner_14"/>
            <field name="partner_invoice_id" ref="base.res_partner_14"/>
            <field name="partner_shipping_id" ref="base.res_partner_14"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="pricelist_id" ref="product.list0"/>
            <field name="order_policy">manual</field>
        </record>

        <record id="sale_order_line_6" model="sale.order.line">
            <field name="order_id" ref="sale_order_3"/>
            <field name="name">On Site Monitoring</field>
            <field name="product_id" ref="product.product_product_1"/>
            <field name="product_uom_qty">10</field>
            <field name="product_uos_qty">10</field>
            <field name="product_uom" ref="product.product_uom_hour"/>
            <field name="price_unit">30.75</field>
        </record>

        <record id="sale_order_line_7" model="sale.order.line">
            <field name="order_id" ref="sale_order_3"/>
            <field name="name">Toner Cartridge</field>
            <field name="product_id" ref="product.product_product_39"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">70.00</field>
        </record>

        <record id="sale_order_4" model="sale.order">
            <field name="partner_id" ref="base.res_partner_15"/>
            <field name="partner_invoice_id" ref="base.res_partner_address_25"/>
            <field name="partner_shipping_id" ref="base.res_partner_address_25"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="pricelist_id" ref="product.list0"/>
        </record>

        <record id="sale_order_line_8" model="sale.order.line">
            <field name="order_id" ref="sale_order_4"/>
            <field name="name">Service on demand</field>
            <field name="product_id" ref="product.product_product_consultant"/>
            <field name="product_uom_qty">16</field>
            <field name="product_uos_qty">16</field>
            <field name="product_uom" ref="product.product_uom_hour"/>
            <field name="price_unit">75.00</field>
        </record>

        <record id="sale_order_line_9" model="sale.order.line">
            <field name="order_id" ref="sale_order_4"/>
            <field name="name">Webcam</field>
            <field name="product_id" ref="product.product_product_34"/>
            <field name="product_uom_qty">10</field>
            <field name="product_uos_qty">10</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">45.00</field>
        </record>

        <record id="sale_order_line_10" model="sale.order.line">
            <field name="order_id" ref="sale_order_4"/>
            <field name="name">Multimedia Speakers</field>
            <field name="product_id" ref="product.product_product_31"/>
            <field name="product_uom_qty">3</field>
            <field name="product_uos_qty">3</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">150.00</field>
        </record>

        <record id="sale_order_line_11" model="sale.order.line">
            <field name="order_id" ref="sale_order_4"/>
            <field name="name">Switch, 24 ports</field>
            <field name="product_id" ref="product.product_product_47"/>
            <field name="product_uom_qty">2</field>
            <field name="product_uos_qty">2</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">70.00</field>
        </record>

        <record id="sale_order_5" model="sale.order">
            <field name="partner_id" ref="base.res_partner_2"/>
            <field name="partner_invoice_id" ref="base.res_partner_2"/>
            <field name="partner_shipping_id" ref="base.res_partner_2"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_demo"/>
            <field name="pricelist_id" ref="product.list0"/>
        </record>

        <record id="sale_order_line_12" model="sale.order.line">
            <field name="order_id" ref="sale_order_5"/>
            <field name="name">External Hard disk</field>
            <field name="product_id" ref="product.product_product_28"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">405.00</field>
        </record>

        <record id="sale_order_line_13" model="sale.order.line">
            <field name="order_id" ref="sale_order_5"/>
            <field name="name">Blank DVD-RW</field>
            <field name="product_id" ref="product.product_product_36"/>
            <field name="product_uom_qty">3</field>
            <field name="product_uos_qty">3</field>
            <field name="product_uom" ref="product.product_uom_dozen"/>
            <field name="price_unit">24.00</field>
        </record>

        <record id="sale_order_line_14" model="sale.order.line">
            <field name="order_id" ref="sale_order_5"/>
            <field name="name">Printer, All-in-one</field>
            <field name="product_id" ref="product.product_product_37"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">4410.00</field>
        </record>

        <record id="sale_order_6" model="sale.order">
            <field name="partner_id" ref="base.res_partner_18"/>
            <field name="partner_invoice_id" ref="base.res_partner_18"/>
            <field name="partner_shipping_id" ref="base.res_partner_18"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="pricelist_id" ref="product.list0"/>
        </record>

        <record id="sale_order_line_15" model="sale.order.line">
            <field name="order_id" ref="sale_order_6"/>
            <field name="name">PC Assamble + 2GB RAM</field>
            <field name="product_id" ref="product.product_product_4"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">750.00</field>
        </record>

        <record id="sale_order_7" model="sale.order">
            <field name="partner_id" ref="base.res_partner_11"/>
            <field name="partner_invoice_id" ref="base.res_partner_address_20"/>
            <field name="partner_shipping_id" ref="base.res_partner_address_20"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="pricelist_id" ref="product.list0"/>
            <field name="order_policy">manual</field>
        </record>

        <record id="sale_order_line_16" model="sale.order.line">
            <field name="order_id" ref="sale_order_7"/>
            <field name="name">Laptop E5023</field>
            <field name="product_id" ref="product.product_product_25"/>
            <field name="product_uom_qty">5</field>
            <field name="product_uos_qty">5</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">2950.00</field>
        </record>

        <record id="sale_order_line_17" model="sale.order.line">
            <field name="order_id" ref="sale_order_7"/>
            <field name="name">GrapWorks Software</field>
            <field name="product_id" ref="product.product_product_44"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">173.00</field>
        </record>

        <record id="sale_order_line_18" model="sale.order.line">
            <field name="order_id" ref="sale_order_7"/>
            <field name="name">Datacard</field>
            <field name="product_id" ref="product.product_product_46"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">40.00</field>
        </record>

        <record id="sale_order_line_19" model="sale.order.line">
            <field name="order_id" ref="sale_order_7"/>
            <field name="name">USB Adapter</field>
            <field name="product_id" ref="product.product_product_48"/>
            <field name="product_uom_qty">1</field>
            <field name="product_uos_qty">1</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">18.00</field>
        </record>

        <record id="sale_order_8" model="sale.order">
            <field name="partner_id" ref="base.res_partner_15"/>
            <field name="partner_invoice_id" ref="base.res_partner_address_25"/>
            <field name="partner_shipping_id" ref="base.res_partner_address_25"/>
            <field name="shop_id" ref="sale_shop_1"/>
            <field name="user_id" ref="base.user_demo"/>
            <field name="pricelist_id" ref="product.list0"/>
            <field name="order_policy">manual</field>
        </record>

        <record id="sale_order_line_20" model="sale.order.line">
            <field name="order_id" ref="sale_order_8"/>
            <field name="name">Laptop Customized</field>
            <field name="product_id" ref="product.product_product_27"/>
            <field name="product_uom_qty">2</field>
            <field name="product_uos_qty">2</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">3645.00</field>
        </record>

        <record id="sale_order_line_21" model="sale.order.line">
            <field name="order_id" ref="sale_order_8"/>
            <field name="name">Mouse, Wireless</field>
            <field name="product_id" ref="product.product_product_12"/>
            <field name="product_uom_qty">2</field>
            <field name="product_uos_qty">2</field>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">12.50</field>
        </record>

        <!-- Confirm some Sale Orders-->
        <workflow action="order_confirm" model="sale.order" ref="sale_order_7"/>

        <record id="message_sale_1" model="mail.message">
            <field name="model">sale.order</field>
            <field name="res_id" ref="sale_order_2"/>
            <field name="body">Hi,
I have a question regarding services pricing: I heard of a possible discount for quantities exceeding 25 hours.
Could you confirm, please?</field>
            <field name="type">comment</field>
            <field name="author_id" ref="base.partner_demo"/>
        </record>

        <record id="message_sale_2" model="mail.message">
            <field name="model">sale.order</field>
            <field name="res_id" ref="sale_order_2"/>
            <field name="parent_id" ref="message_sale_1"/>
            <field name="body">Hello, 
Unfortunately that was a temporary discount that is not available anymore.
Do you still plan to confirm the order based on the quoted prices?
Thanks!</field>
            <field name="type">comment</field>
            <field name="author_id" ref="base.partner_root"/>
        </record>

        <record id="message_sale_3" model="mail.message">
            <field name="model">sale.order</field>
            <field name="res_id" ref="sale_order_2"/>
            <field name="parent_id" ref="message_sale_2"/>
            <field name="body">Alright, thanks for the clarification. I will confirm the order as soon as I get my manager's approval.</field>
            <field name="type">comment</field>
            <field name="author_id" ref="base.partner_demo"/>
        </record>
        <!-- sale advance demo.. -->
        <!-- Demo Data for Product -->

        <record id="advance_product_0" model="product.product">
            <field name="name">Advance</field>
            <field name="categ_id" ref="product.product_category_1"/>
            <field name="type">service</field>
            <field name="list_price">150.0</field>
            <field name="standard_price">100.0</field>
            <field name="uom_id" ref="product.product_uom_day"/>
            <field name="uom_po_id" ref="product.product_uom_day"/>
            <field name="company_id" eval="[]"/>
            <field name="image">/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wAARCAB9AJYDASIAAhEBAxEB/8QAHAABAAMAAwEBAAAAAAAAAAAAAAQFBgIDBwEI/8QAPhAAAgI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bUk24v1yqmbbuIM7gwPQ6zIY/GMgOe87tlHoJY/rWohTuYH8q8/hGtdePqL+JT0cbo3bbS4HgdJa12JagetgynoRKzZY5xEQjwgWnxkrGdrHUctZHorrdW3L89ZuexHAuHZWK2bfWbbUsKhGOq9Bz08ZjHWdr3sliCnhnfsPbtPI/ll/OKqFUBQAByAE5Tbnbt1mu1WAuRSthXUA85XcI3G44O03VsNdeu3y+c12bSt+M6MNeU6OG4NeJXu09thzJ6zNn1HVwvE7jczHU+f8pZgQAJ9mgkfMxKc3GfHyU31v1EkRA8v7RdmcnhzvYqNdh9RYOqj8395W8IysnhGT32G42N79Te649f7z2AgMCCNQZmeL9jsXMfvsFxiWeKhdUPy8PlM5/jrPJL86ZzNzOB5dn4hlyca3T91Dy+h0+0psjMxa7QyZmXkBfdU09PrpLfO7OcVwgxsxe+rHPvKTu+3X7SmHdNrt01mWpzz+yuyniLqqtYrLu85fY+dXZV46TN2bLNVblOFDW4raBtyGG9a2uxG5gjnJeFxG7BY922qHqp6TNY+Uug0Ohkhcsr1lS/Wxr7SJppZjsD+U6xMsLww1B0iT2qfz5ZLFPJvhN9+ji/dXmUa9NrfzE8+pOjsBNf+jixhxm5PBqTr8iJ1ed6TERIEREBERAREQEREBM/xbsnw3iLNaqHGyDz7yvoT6jxmgiCXGFPYCw2f7xXb591z+ms7B2AUf8TP/h/+ptokyNe1ef5vYTNRN+Hm1WsP3WQpr9zMzxLD4rw1v9Pxbal10D6aqf8AuHKezTiwDDawBB5aGMWd2PE04i4GhMT0viHY3g3EHFncnHbXn3J2g/LpEzjX9H//2Q==</field>
        </record>

        <record id="base.user_demo" model="res.users">
            <field eval="[(4, ref('base.group_sale_salesman'))]" name="groups_id"/>
        </record>

    </data>
</openerp>
