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

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

        <record id="res_users_analyst" model="res.users">
            <field name="name">Phuong</field>
            <field eval="[(6, 0, [ref('base.group_user'), ref('project.group_project_manager')])]" name="groups_id"/>
            <field name="login">phu</field>
            <field name="password">phu</field>
        </record>
        <record id="res_users_project_manager" model="res.users">
            <field name="name">Anthony</field>
            <field eval="[(6, 0, [ref('base.group_user'), ref('project.group_project_manager')])]" name="groups_id"/>
            <field name="login">al</field>
            <field name="password">al</field>
        </record>
        <record id="res_users_technical_leader" model="res.users">
            <field name="name">Quentin</field>
            <field eval="[(6, 0, [ref('base.group_user'), ref('project.group_project_user')])]" name="groups_id"/>
            <field name="login">qdp</field>
            <field name="password">qdp</field>
        </record>
        <record id="res_users_developer" model="res.users">
            <field name="name">Francois</field>
            <field eval="[(6, 0, [ref('base.group_user'), ref('project.group_project_user')])]" name="groups_id"/>
            <field name="login">fpi</field>
            <field name="password">fpi</field>
        </record>
        <record id="res_users_designer" model="res.users">
            <field name="name">Julien</field>
            <field eval="[(6, 0, [ref('base.group_user'), ref('project.group_project_user')])]" name="groups_id"/>
            <field name="login">jth</field>
            <field name="password">jth</field>
        </record>
        <record id="res_users_tester" model="res.users">
            <field name="name">Aline</field>
            <field eval="[(6, 0, [ref('base.group_user'), ref('project.group_project_user')])]" name="groups_id"/>
            <field name="login">apr</field>
            <field name="password">apr</field>
        </record>
        <record id="res_users_finacial_manager" model="res.users">
            <field name="name">Fabian</field>
            <field eval="[(6, 0, [ref('base.group_user')])]" name="groups_id"/>
            <field name="login">fbs</field>
            <field name="password">fbs</field>
        </record>

        <!-- Projects -->
        <record id="project_integrate_openerp" model="project.project">
            <field name="date_start" eval="time.strftime('%Y-%m-01 10:00:00')"/>
            <field name="state">open</field>
            <field name="type">normal</field>
            <field name="description">Integrate a Sale and Warehouse Management.</field>
            <field eval="[(6, 0, [
                    ref('project.res_users_analyst'),
                    ref('project.res_users_project_manager'),
                    ref('project.res_users_technical_leader'),
                    ref('project.res_users_developer'),
                    ref('project.res_users_designer'),
                    ref('project.res_users_tester'),
                    ref('project.res_users_finacial_manager')])]" name="members"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="name">Integrate a Sale and Warehouse Management.</field>
        </record>

        <!-- Tasks -->

        <record id="project_task_1" model="project.task">
            <field eval="100.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_analyst"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Prepare Requirements Document</field>
        </record>

        <record id="project_task_2" model="project.task">
            <field eval="80.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_analyst"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Make SRS</field>
        </record>

        <record id="project_task_3" model="project.task">
            <field eval="40.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Design Use Cases</field>
        </record>

        <record id="project_task_4" model="project.task">
            <field eval="25.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Budget Planning</field>
        </record>

        <record id="project_task_5" model="project.task">
            <field eval="25.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Quality Planning</field>
        </record>

        <record id="project_task_6" model="project.task">
            <field eval="20.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Risk Management Planning</field>
        </record>

        <record id="project_task_7" model="project.task">
            <field eval="30.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Create Project Schedules</field>
        </record>

        <record id="project_task_8" model="project.task">
            <field eval="10.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Dataflow Design</field>
        </record>

        <record id="project_task_9" model="project.task">
            <field eval="50.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_project_manager"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">User Interface Design</field>
        </record>

        <record id="project_task_10" model="project.task">
            <field eval="40.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_developer"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Develop Module in Sale Management</field>
        </record>

        <record id="project_task_11" model="project.task">
            <field eval="90.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_developer"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Develop module in Warehouse</field>
        </record>

        <record id="project_task_12" model="project.task">
            <field eval="20.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_developer"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Integrate Modules</field>
        </record>

        <record id="project_task_13" model="project.task">
            <field eval="50.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_tester"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Unit Testing</field>
        </record>

        <record id="project_task_14" model="project.task">
            <field eval="30.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_tester"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Regression Test</field>
        </record>

        <record id="project_task_15" model="project.task">
            <field eval="15.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_developer"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Documentation</field>
        </record>

        <record id="project_task_16" model="project.task">
            <field eval="10" name="sequence"/>
            <field eval="40.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_tester"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Performance Tuning</field>
        </record>

        <record id="project_task_17" model="project.task">
            <field eval="5.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_analyst"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Deploy and Review on Customer System</field>
        </record>

        <record id="project_task_18" model="project.task">
            <field eval="10.0" name="planned_hours"/>
            <field name="user_id" ref="project.res_users_analyst"/>
            <field name="priority">2</field>
            <field name="project_id" ref="project.project_integrate_openerp"/>
            <field name="name">Training and Presentation</field>
        </record>

        <!--
    Resource: project.project
    -->
        <record id="base.main_company" model="res.company">
            <field name="project_time_mode_id" ref="product.uom_hour"></field>
        </record>
        <!-- Projects -->

        <!-- <record id="all_projects_account" model="project.project">
            <field name="name">Projects</field>
            <field name="code">3</field>
        </record> -->
        

        <record id="project_project_9" model="project.project">
            <field name="warn_manager">1</field>
            <field name="name">OpenERP Integration</field>
            <field name="parent_id" ref="all_projects_account"/>
            <field name="user_id" ref="base.user_root"/>
            <field eval="[(6, 0, [ref('project_tt_specification'),ref('project_tt_development'),ref('project_tt_testing'),ref('project_tt_merge')])]" name="type_ids"/>
        </record>
        <record id="project_project_21" model="project.project">
            <field name="warn_manager">1</field>
            <field name="priority">10</field>
            <field name="parent_id" ref="all_projects_account"/>
            <field name="name">Study + Prototype</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="[(6, 0, [ref('project_tt_specification'),ref('project_tt_development')])]" name="type_ids"/>
        </record>
        <record id="project_project_22" model="project.project">
            <field name="priority">20</field>
            <field name="parent_id" ref="all_projects_account"/>
            <field name="name">Specific Developments</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="[(6, 0, [ref('project_tt_specification'), ref('project_tt_development')])]" name="type_ids"/>
        </record>
        <record id="project_project_23" model="project.project">
            <field name="priority">30</field>
            <field name="parent_id" ref="all_projects_account"/>
            <field name="name">Install, data import, configuration</field>
            <field eval="[(6, 0, [ref('project_tt_development')])]" name="type_ids"/>
        </record>

        <!-- Tasks -->
        <record id="project_task_116" model="project.task">
            <field name="planned_hours">38.0</field>
            <field name="remaining_hours">38.0</field>
            <field name="type_id" ref="project_tt_development"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="description">BoM, After sales returns, interventions. Traceability.</field>
            <field name="name">Specific adaptation to MRP</field>
        </record>
        <record id="project_task_130" model="project.task">
            <field name="planned_hours">16.0</field>
            <field name="remaining_hours">16.0</field>
            <field name="type_id" ref="project_tt_development"/>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_23"/>
            <field name="name">Data importation + Doc</field>
        </record>
        <record id="project_task_131" model="project.task">
            <field name="planned_hours">16.0</field>
            <field name="remaining_hours">16.0</field>
            <field name="type_id" ref="project_tt_development"/>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_23"/>
            <field name="name">Modifications asked by the customer.</field>
        </record>
        <record id="project_task_184" model="project.task">
            <field name="planned_hours">16.0</field>
            <field name="remaining_hours">16.0</field>
            <field name="type_id" ref="project_tt_development"/>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="priority">0</field>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Customer analysis + Architecture</field>
        </record>
        <record id="project_task_186" model="project.task">
            <field name="sequence">15</field>
            <field name="planned_hours">8.0</field>
            <field name="remaining_hours">8.0</field>
            <field name="type_id" ref="project_tt_development"/>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Internal testing + Software Install</field>
        </record>
        <record id="project_task_188" model="project.task">
            <field name="sequence">17</field>
            <field name="planned_hours">16.0</field>
            <field name="remaining_hours">16.0</field>
            <field name="type_id" ref="project_tt_development"/>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="priority">2</field>
            <field name="state">open</field>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Analysis, Data Importation</field>
        </record>
        <record id="project_task_189" model="project.task">
            <field name="sequence">20</field>
            <field name="planned_hours">16.0</field>
            <field name="remaining_hours">16.0</field>
            <field name="state">open</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_23"/>
            <field name="name">Parameters</field>
        </record>
        <record id="project_task_190" model="project.task">
            <field name="sequence">20</field>
            <field name="planned_hours">32.0</field>
            <field name="remaining_hours">32.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="state">open</field>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Start of the doc redaction + MRP</field>
        </record>
        <record id="project_task_192" model="project.task">
            <field name="sequence">25</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_21"/>
            <field name="state">done</field>
            <field name="name">MRP Tests</field>
        </record>
        <record id="project_task_193" model="project.task">
            <field name="sequence">29</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field name="user_id" ref="base.user_root"/>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">MRP; functional layer</field>
            <field name="state">done</field>
        </record>
        <record id="project_task_194" model="project.task">
            <field name="sequence">30</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Products Adaptation</field>
        </record>
        <record id="project_task_195" model="project.task">
            <field name="sequence">30</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_23"/>
            <field name="name">Install + Super User Training</field>
        </record>
        <record id="project_task_196" model="project.task">
            <field name="sequence">30</field>
            <field name="planned_hours">32.0</field>
            <field name="remaining_hours">32.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Customer doc</field>
        </record>
        <record id="project_task_197" model="project.task">
            <field name="sequence">30</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Development of the presentation layer</field>
        </record>
        <record id="project_task_198" model="project.task">
            <field name="sequence">40</field>
            <field name="planned_hours">32.0</field>
            <field name="remaining_hours">32.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Free Time</field>
        </record>
        <record id="project_task_199" model="project.task">
            <field name="sequence">40</field>
            <field name="planned_hours">50.0</field>
            <field name="remaining_hours">50.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Specific tests</field>
        </record>
        <record id="project_task_200" model="project.task">
            <field name="sequence">40</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Sale module</field>
        </record>
        <record id="project_task_201" model="project.task">
            <field name="sequence">40</field>
            <field name="planned_hours">32.0</field>
            <field name="remaining_hours">32.0</field>
            <field name="user_id" ref="base.user_root"/>
            <field name="project_id" ref="project_project_23"/>
            <field name="state">open</field>
            <field name="name">In house training</field>
        </record>
        <record id="project_task_202" model="project.task">
            <field name="sequence">50</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field name="user_id" ref="base.user_root"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="state">open</field>
            <field name="name">Validation + latest modifications.</field>
        </record>
        <record id="project_task_203" model="project.task">
            <field name="sequence">50</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Adaptations buy module</field>
        </record>
        <record id="project_task_204" model="project.task">
            <field name="sequence">60</field>
            <field name="planned_hours">16.0</field>
            <field name="remaining_hours">16.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_21"/>
            <field name="name">Presentation of the software.</field>
        </record>
        <record id="project_task_205" model="project.task">
            <field name="sequence">60</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Adaptations Stock module</field>
        </record>
        <record id="project_task_206" model="project.task">
            <field name="sequence">70</field>
            <field name="planned_hours">24.0</field>
            <field name="remaining_hours">24.0</field>
            <field model="res.users" name="user_id" search="[('login','=','demo')]"/>
            <field name="project_id" ref="project_project_22"/>
            <field name="name">Latest in house tests</field>
        </record>
    </data>
</openerp>
