<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <!-- Replaced by the custom OWL page below (ported from XENHR's
             ApproverSettingsPage.tsx). An existing xmlid can't switch models
             via a plain record update, so the old act_window/list view are
             explicitly deleted rather than left orphaned. -->
        <delete model="ir.actions.act_window" id="action_xeno_leave_approver"/>
        <delete model="ir.ui.view" id="view_xeno_leave_approver_list"/>

        <record id="action_xeno_leave_approver_config" model="ir.actions.client">
            <field name="name">Leave Approvers</field>
            <field name="tag">xeno_leave_approver_config</field>
        </record>
    </data>
    <data noupdate="1">
        <menuitem id="menu_xeno_leave_approver"
                  name="Leave Approvers"
                  parent="hr_holidays.menu_hr_holidays_configuration"
                  action="action_xeno_leave_approver_config"
                  groups="hr_holidays.group_hr_holidays_user"
                  sequence="60"/>
    </data>
</odoo>
