<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record
        id="recompute_employee_theoretical_attendance"
        model="ir.actions.act_window"
    >
        <field name="name">Recompute Theoretical Attendance</field>
        <field name="res_model">recompute.theoretical.attendance</field>
        <field name="binding_model_id" ref="model_hr_employee" />
        <field name="view_mode">form</field>
        <field
            name="context"
        >{'default_employee_ids': active_ids, 'employee_ids': active_ids, }</field>
        <field name="target">new</field>
        <field
            name="groups_id"
            eval="[(4, ref('hr_attendance.group_hr_attendance_manager'))]"
        />
    </record>
    <record id="view_employee_form_inherit_hr_attendance" model="ir.ui.view">
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_form" />
        <field name="arch" type="xml">
            <field name="pin" position="before">
                <field name="theoretical_hours_start_date" />
            </field>
        </field>
    </record>
</odoo>
