<?xml version="1.0" encoding="utf-8" ?>
<!--
     Copyright 2019 Coop IT Easy
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>

    <record id="shift_task_template_1_demo" model="shift.template">
        <field name="name">A_LUN_7:00-9:30</field>
        <field name="planning_id" ref="shift.shift_planning_1_demo" />
        <field name="day_nb_id" ref="shift.shift_daynumber_1_demo" />
        <field name="task_type_id" ref="shift.shift_task_type_3_demo" />
        <field name="start_time">7</field>
        <field name="end_time">9.5</field>
        <field name="duration">2.5</field>
        <field name="worker_nb">12</field>
        <field
            name="worker_ids"
            eval="[(6, 0, [ref('shift.res_partner_worker_1_demo')])]"
        />
    </record>

    <record id="shift_task_template_2_demo" model="shift.template">
        <field name="name">A_MAR_12:00-14:30</field>
        <field name="planning_id" ref="shift.shift_planning_1_demo" />
        <field name="day_nb_id" ref="shift.shift_daynumber_2_demo" />
        <field name="task_type_id" ref="shift.shift_task_type_2_demo" />
        <field name="start_time">12</field>
        <field name="end_time">14.5</field>
        <field name="duration">2.5</field>
        <field name="worker_nb">9</field>
        <!-- WARNING: issue, worker not registered in demo -->
        <field
            name="worker_ids"
            eval="[(6, 0, [ref('shift.res_partner_worker_3_demo')])]"
        />
    </record>

    <record id="shift_task_template_3_demo" model="shift.template">
        <field name="name">A_VEN_7:00-9:30</field>
        <field name="planning_id" ref="shift.shift_planning_1_demo" />
        <field name="day_nb_id" ref="shift.shift_daynumber_5_demo" />
        <field name="task_type_id" ref="shift.shift_task_type_1_demo" />
        <field name="start_time">7</field>
        <field name="end_time">9.5</field>
        <field name="duration">2.5</field>
        <field name="worker_nb">7</field>
        <!-- WARNING: issue, worker not registered in demo -->
        <field
            name="worker_ids"
            eval="[(6, 0, [ref('shift.res_partner_worker_6_demo')])]"
        />
    </record>

</odoo>
