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

        <record id="partner_demo" model="res.partner">
            <field name="name">Demo User</field>
            <field name="company_id" ref="main_company"/>
            <field name="customer" eval="False"/>
            <field name="email">demo@yourcompany.example.com</field>
            <field name="street">Avenue des Dessus-de-Lives, 2</field>
            <field name="city">Namur (Loyers)</field>
            <field name="zip">5101</field>
            <field name="country_id" ref="be"/>
        </record>

        <record id="main_partner" model="res.partner">
            <field name="name">YourCompany</field>
            <field name="street">1725 Slough Ave.</field>
            <field name="city">Scranton</field>
            <field name="zip">18540</field>
            <field name="phone">+1 555 123 8069</field>
            <field name="email">info@yourcompany.example.com</field>
            <field name="website">www.example.com</field>
            <field name="image" type="base64" file="base/static/img/main_partner-image.png"/>
        </record>

        <record id="main_company" model="res.company">
            <field name="name">YourCompany</field>
        </record>


        <record id="user_demo" model="res.users">
            <field name="partner_id" ref="base.partner_demo"/>
            <field name="login">demo</field>
            <field name="password">demo</field>
            <field name="signature">--
Mr Demo</field>
            <field name="company_id" ref="main_company"/>
            <field name="groups_id" eval="[(6,0,[ref('base.group_user'), ref('base.group_partner_manager')])]"/>
            <field name="image" type="base64" file="base/static/img/user_demo-image.jpg"/>
        </record>

        <record model="res.partner" id="base.partner_root">
            <field name="email">admin@yourcompany.example.com</field>
            <field name="tz">Europe/Brussels</field>
            <field name="image" type="base64" file="base/static/img/partner_root-image.jpg"/>
        </record>

        <!-- new rate for demo transactions in multi currency -->
        <record id="rateUSDbis" model="res.currency.rate">
            <field name="rate">1.5289</field>
            <field name="currency_id" ref="USD"/>
            <field eval="time.strftime('%Y-06-06')" name="name"/>
        </record>

    </data>
</openerp>
