<?xml version="1.0" encoding="utf-8"?>
<terp>
    <data noupdate="1">
        
        <record id="uom_categ_wtime" model="product.uom.categ">
            <field name="name">Working Time</field>
        </record>
        <record id="uom_hour" model="product.uom">
            <field name="name">Hour</field>
            <field eval="uom_categ_wtime" name="category_id"/>
            <field name="factor">8.0</field>
        </record>
        <record id="uom_day" model="product.uom">
            <field name="name">Day</field>
            <field eval="uom_categ_wtime" name="category_id"/>
            <field name="factor">1.0</field>
        </record>
        
        <record id="product_consultant" model="product.product">
            <field name="default_code">DEV</field>
            <field name="list_price">75.0</field>
            <field name="standard_price">30.0</field>
            <field name="uom_id" ref="uom_hour"/>
            <field name="uom_po_id" ref="uom_hour"/>
            <field name="name">Consultancy - Senior Developper</field>
            <field name="categ_id" ref="product.product_category_10"/>
            <field name="type">service</field>
            <field name="supply_method">produce</field>
            <field name="procure_method">make_to_order</field>
            <field eval="False" name="purchase_ok"/>
        </record>
        
        <!-- complete our example employee -->
        <record id="hr.employee1" model="hr.employee">
            <field name="product_id" ref="product_consultant"/>
            <field name="journal_id" ref="analytic_journal"/>
        </record>
        
        <record id="analytic_timesheet1" model="hr.analytic.timesheet">
            <field name="amount">-240.0</field>
            <field eval="time.strftime('%Y-%m-%d')" name="date"/>
            <field name="name">Letters</field>
            <field name="unit_amount">8.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Administratif')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet2" model="hr.analytic.timesheet">
            <field name="amount">-120.0</field>
            <field eval="time.strftime('%Y-%m-01')" name="date"/>
            <field name="name">Support by phone</field>
            <field name="unit_amount">4.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Seagate P1')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet3" model="hr.analytic.timesheet">
            <field name="amount">-120.0</field>
            <field eval="time.strftime('%Y-%m-01')" name="date"/>
            <field name="name">Support</field>
            <field name="unit_amount">4.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Seagate P2')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet4" model="hr.analytic.timesheet">
            <field name="amount">-240.0</field>
            <field eval="time.strftime('%Y-%m-02')" name="date"/>
            <field name="name">Repport on this</field>
            <field name="unit_amount">8.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Seagate P1')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet5" model="hr.analytic.timesheet">
            <field name="amount">-240.0</field>
            <field eval="time.strftime('%Y-%m-03')" name="date"/>
            <field name="name">Repport on that</field>
            <field name="unit_amount">8.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Seagate P1')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet6" model="hr.analytic.timesheet">
            <field name="amount">-240.0</field>
            <field eval="time.strftime('%Y-%m-04')" name="date"/>
            <field name="name">Phone support</field>
            <field name="unit_amount">8.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Sednacom')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet7" model="hr.analytic.timesheet">
            <field name="amount">-210.0</field>
            <field name="name">Phone support on reporting engine</field>
            <field eval="time.strftime('%Y-%m-05')" name="date"/>
            <field name="unit_amount">7.0</field>
            <field name="account_id" ref="base.res_partner_c2c"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet8" model="hr.analytic.timesheet">
            <field name="amount">-210.0</field>
            <field eval="time.strftime('%Y-%m-06')" name="date"/>
            <field name="name">Quotation 234 done</field>
            <field name="unit_amount">8.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Agrolait')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        <record id="analytic_timesheet9" model="hr.analytic.timesheet">
            <field name="amount">-210.0</field>
            <field eval="time.strftime('%Y-%m-07')" name="date"/>
            <field name="name">Quotation 356</field>
            <field name="unit_amount">8.0</field>
            <field model="account.analytic.account" name="account_id" search="[('name','=', 'Agrolait')]"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
        
        <record id="analytic_timesheet10" model="hr.analytic.timesheet">
            <field name="amount">-210.0</field>
            <field eval="time.strftime('%Y-%m-08', time.localtime(time.mktime(time.localtime()[0:2] + (0,)*7)-1))" name="date"/>
            <field name="name">Quotation 42</field>
            <field name="unit_amount">5.0</field>
            <field name="account_id" ref="account.analytic_agrolait"/>
            <field name="product_id" ref="hr_timesheet.product_consultant"/>
            <field name="product_uom_id" ref="hr_timesheet.uom_hour"/>
            <field name="user_id" ref="base.user_admin"/>
            <field name="journal_id" ref="analytic_journal"/>
            <field name="general_account_id" ref="account.a_recv"/>
        </record>
    </data>
</terp>