<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
    <record id="ir_cron_generate_attendance_sheet" model="ir.cron">
        <field name="name">Generate Attendance Sheets</field>
        <field name="model_id" ref="model_shift_sheet" />
        <field name="state">code</field>
        <field name="code">model._generate_attendance_sheet()</field>
        <field name="user_id" ref="base.user_root" />
        <field name="interval_number">4</field>
        <field name="interval_type">minutes</field>
        <field name="numbercall">-1</field>
        <field name="doall" eval="False" />
        <field name="active" eval="False" />
    </record>

    <record id="ir_cron_check_non_validated_sheet" model="ir.cron">
        <field name="name">Check for non-validated sheets</field>
        <field name="model_id" ref="model_shift_sheet" />
        <field name="state">code</field>
        <field name="code">model._cron_non_validated_sheets()</field>
        <field name="interval_number">1</field>
        <field name="interval_type">days</field>
        <field name="numbercall">-1</field>
        <field name="doall" eval="False" />
        <field
            name="nextcall"
            eval="datetime.now().replace(hour=00, minute=00, second=10)"
        />
        <field name="active" eval="False" />
    </record>
</odoo>
