<?xml version="1.0" encoding="UTF-8"?>
<odoo>
        <menuitem id="menu_op_attendance_root"
                  name=" Class Attendances"
                  sequence="290"
                  web_icon="openeducat_attendance,static/description/icon.png"
                  groups="openeducat_attendance.group_op_attendance_user,openeducat_attendance.group_op_attendance_manager"/>

        <menuitem id="menu_op_attendance"
                  name="Attendance"
                  parent="menu_op_attendance_root"
                  sequence="10"/>

        <menuitem id="menu_op_attendance_register_sub"
                  name="Registers"
                  parent="menu_op_attendance"
                  sequence="10"
                  action="act_open_op_attendance_register_view"
                  groups="openeducat_attendance.group_op_attendance_user,openeducat_attendance.group_op_attendance_manager"/>

        <menuitem id="menu_op_attendance_sheet_sub"
                  name="Sheets"
                  parent="menu_op_attendance"
                  sequence="20"
                  action="act_open_op_attendance_sheet_view"
                  groups="openeducat_attendance.group_op_attendance_user,openeducat_attendance.group_op_attendance_manager"/>

        <menuitem id="menu_op_attendance_line_sub"
                  name="Attendance Lines"
                  parent="menu_op_attendance"
                  sequence="30"
                  action="act_open_op_attendance_line_view"
                  groups="openeducat_attendance.group_op_attendance_manager,openeducat_attendance.group_op_attendance_user"/>

        <menuitem id="menu_op_attendance_config"
                  parent="menu_op_attendance_root"
                  name="Configuration"
                  sequence="40"/>

        <menuitem name="Settings"
                  id="menu_attendance_config"
                  parent="menu_op_attendance_config"
                  action="openeducat_core.action_openeducat_configuration"
                  groups="base.group_system"
                  sequence="1"/>

        <menuitem id="menu_op_attendance_type"
                  name="Attendance Type"
                  parent="menu_op_attendance_config"
                  sequence="30"
                  action="act_open_op_attendance_type_view"
                  groups="openeducat_attendance.group_op_attendance_manager"/>

</odoo>
