<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- ============================================================ -->
    <!-- Top-level Menu: Payroll under HR                             -->
    <!-- ============================================================ -->
    <menuitem id="menu_payroll_root"
          name="Payroll"
          parent="hr.menu_hr_root"
          sequence="90"
          groups="c2c_payroll.group_payroll_user"/>

    <!-- ============================================================ -->
    <!-- Sub-menus                                                    -->
    <!-- ============================================================ -->
  <menuitem id="menu_salary_structure"
          name="Salary Structures"
          parent="menu_payroll_root"
          action="action_salary_structure"
          sequence="10"
          groups="c2c_payroll.group_payroll_user"/>

<menuitem id="menu_payslip"
          name="Payslips"
          parent="menu_payroll_root"
          action="action_payslip"
          sequence="20"
          groups="c2c_payroll.group_payroll_user"/>

<menuitem id="menu_payslip_generate"
          name="Generate Payslips"
          parent="menu_payroll_root"
          action="action_payslip_generate_wizard"
          sequence="30"
          groups="c2c_payroll.group_payroll_manager"/>
</odoo>
