<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <!-- susu: hide Dashboards/Employees/Apps from a regular employee's
         sidebar. They're officer/admin tooling (managing all employee
         records, cross-app dashboards, installing modules), not something
         a self-service employee needs; the custom My Profile/HR apps
         already cover what a regular employee actually does day to day.
         Employees/Dashboards are HR-context apps here, so gated to the HR
         Officer/Administrator tier (hr.group_hr_user implies through to
         Time Off Officer too, see xeno_leave's own HR_OFFICER_GROUP
         convention). Apps affects every department in this database
         (Invoicing/Inventory/Manufacturing are also installed), so it's
         gated to base.group_system (Odoo's own real Administrator/
         Settings tier) instead of an HR-specific group, matching what
         "Apps" already means everywhere else in Odoo. -->
    <record id="hr.menu_hr_root" model="ir.ui.menu">
        <field name="group_ids" eval="[(6, 0, [ref('hr.group_hr_user'), ref('hr.group_hr_manager')])]"/>
    </record>
    <record id="spreadsheet_dashboard.spreadsheet_dashboard_menu_root" model="ir.ui.menu">
        <field name="group_ids" eval="[(6, 0, [ref('hr.group_hr_user'), ref('hr.group_hr_manager')])]"/>
    </record>
    <record id="base.menu_management" model="ir.ui.menu">
        <field name="group_ids" eval="[(6, 0, [ref('base.group_system')])]"/>
    </record>
</odoo>
