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

        <!-- Project forecast will warn if the user assigned to a forecast doesn't have a timezone -->
        <record id="base.user_demo" model="res.users">
            <field name="tz">Europe/Brussels</field>
            <field name="groups_id" eval="[(4,ref('planning.group_planning_user'))]"/>
        </record>

        <!-- Roles -->
        <record id="planning_role_bartender" model="planning.role">
            <field name="name">Bartender</field>
            <field name="color">2</field>
        </record>
        <record id="planning_role_waiter" model="planning.role">
            <field name="name">Waiter</field>
            <field name="color">3</field>
        </record>
        <record id="planning_role_chef" model="planning.role">
            <field name="name">Chef</field>
            <field name="color">4</field>
        </record>

        <!-- Shift templates (morning shifts) -->
        <record id="planning_template_chef_morning" model="planning.slot.template">
            <field name="role_id" ref="planning_role_chef"/>
            <field name="start_time" eval="8"/>
            <field name="duration" eval="6"/>
        </record>
        <record id="planning_template_bartender_morning" model="planning.slot.template">
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="start_time" eval="8"/>
            <field name="duration" eval="8"/>
        </record>
        <record id="planning_template_waiter_morning" model="planning.slot.template">
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="start_time" eval="8"/>
            <field name="duration" eval="8"/>
        </record>

        <!-- Shift templates (evening shifts) -->
        <record id="planning_template_chef_evening" model="planning.slot.template">
            <field name="role_id" ref="planning_role_chef"/>
            <field name="start_time" eval="14"/>
            <field name="duration" eval="8"/>
        </record>
        <record id="planning_template_bartender_evening" model="planning.slot.template">
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="start_time" eval="16"/>
            <field name="duration" eval="8"/>
        </record>
        <record id="planning_template_waiter_evening" model="planning.slot.template">
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="start_time" eval="16"/>
            <field name="duration" eval="8"/>
        </record>

        <!-- Recurrencies -->
        <record id="planning_recurrency_1" model="planning.recurrency">
            <field name="repeat_interval" eval="1"/>
            <field name="repeat_type">forever</field>
        </record>
        <record id="planning_recurrency_2" model="planning.recurrency">
            <field name="repeat_interval" eval="1"/>
            <field name="repeat_type">forever</field>
        </record>
        <record id="planning_recurrency_3" model="planning.recurrency">
            <field name="repeat_interval" eval="1"/>
            <field name="repeat_type">forever</field>
        </record>

        <!--                                        Week 1                                        -->

        <!-- Monday morning shifts -->
        <record id="planning_slot_111" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_112" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_113" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Monday evening shifts -->
        <record id="planning_slot_114" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_115" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_116" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday())).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Tuesday morning shifts -->
        <record id="planning_slot_121" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_122" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" eval="False"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="name" eval="'Check with Katy from the employment agency if they have someone to replace Randall this day'"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_123" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_jep"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Tuesday evening shifts -->
        <record id="planning_slot_124" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_125" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_126" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 1)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Wednesday morning shifts -->
        <record id="planning_slot_131" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_132" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_133" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Wednesday evening shifts -->
        <record id="planning_slot_134" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_135" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_admin"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="name" eval="'Mitchel is replacing Jennie until the end of the week'"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_136" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 2)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Thursday morning shifts -->
        <record id="planning_slot_141" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_142" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_143" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Thursday evening shifts -->
        <record id="planning_slot_144" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_145" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_admin"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_146" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 3)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Friday morning shifts -->
        <record id="planning_slot_151" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" eval="False"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_152" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_153" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Friday evening shifts -->
        <record id="planning_slot_154" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_155" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_admin"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_156" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 4)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!--                                        Week 2                                        -->

        <!-- Monday morning shifts -->
        <record id="planning_slot_211" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_212" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_213" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Monday evening shifts -->
        <record id="planning_slot_214" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_215" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_216" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Tuesday morning shifts -->
        <record id="planning_slot_221" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_222" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_223" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_jep"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Tuesday evening shifts -->
        <record id="planning_slot_224" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_225" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_226" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 1)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" eval="False"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Wednesday morning shifts -->
        <record id="planning_slot_231" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_232" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_233" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Wednesday evening shifts -->
        <record id="planning_slot_234" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_jth"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_235" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_236" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 2)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" eval="False"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Thursday morning shifts -->
        <record id="planning_slot_241" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_242" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_243" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_mit"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Thursday evening shifts -->
        <record id="planning_slot_244" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_admin"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="name" eval="'Ask Toni if she can show Mitchel how things are done in the kitchen because it is her first time working as a chef'"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_245" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_246" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 3)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Friday morning shifts -->
        <record id="planning_slot_251" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" ref="hr.employee_qdp"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="recurrency_id" ref="planning_recurrency_1"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_252" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d  12:00:00')"/>
            <field name="employee_id" ref="hr.employee_stw"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="recurrency_id" ref="planning_recurrency_2"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_253" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d 06:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d  14:00:00')"/>
            <field name="employee_id" eval="False"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Friday evening shifts -->
        <record id="planning_slot_254" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d  20:00:00')"/>
            <field name="employee_id" ref="hr.employee_admin"/>
            <field name="role_id" ref="planning_role_chef"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_255" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_chs"/>
            <field name="role_id" ref="planning_role_waiter"/>
            <field name="recurrency_id" ref="planning_recurrency_3"/>
            <field name="publication_warning" eval="False"/>
        </record>
        <record id="planning_slot_256" model="planning.slot">
            <field name="start_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d 14:00:00')"/>
            <field name="end_datetime" eval="(datetime.today() - timedelta(days=datetime.today().weekday() - 7 - 4)).strftime('%Y-%m-%d  22:00:00')"/>
            <field name="employee_id" ref="hr.employee_niv"/>
            <field name="role_id" ref="planning_role_bartender"/>
            <field name="publication_warning" eval="False"/>
        </record>

        <!-- Duplicate shifts that have a recurrence set -->
        <function model="planning.recurrency" name="_repeat_slot" eval="[[ref('planning_recurrency_1'), ref('planning_recurrency_2'), ref('planning_recurrency_3')]]"/>

    </data>
</odoo>
