<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">
        <function model="hr.work.entry.type" name="write">
            <value model="hr.work.entry.type" eval="obj().sudo().search([('code', '=', 'OVERTIME')]).ids"/>
            <value eval="{
                'overtime_deductible': True,
            }"/>
        </function>
        <record id="hr_attendance.hr_attendance_overtime_employee_schedule_rule" model="hr.attendance.overtime.rule" forcecreate="0">
            <field name="compensable_as_leave" eval="True"/>
        </record>
        <record id="hr_attendance.hr_attendance_overtime_non_working_days_rule" model="hr.attendance.overtime.rule" forcecreate="0">
            <field name="compensable_as_leave" eval="True"/>
        </record>
    </data>
</odoo>
