<?xml version="1.0" encoding="UTF-8"?>
<odoo>

        <menuitem id="menu_op_exam_root"
                  name="Exams"
                  sequence="310"
                  web_icon="openeducat_exam,static/description/icon.png"/>

        <menuitem id="menu_op_school_exam_result"
                  name="Exams"
                  parent="menu_op_exam_root"
                  sequence="10"/>

        <menuitem id="menu_op_exam_session"
                  name="Exam Sessions"
                  parent="menu_op_school_exam_result"
                  sequence="10"
                  action="act_open_op_exam_session_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

        <menuitem id="menu_op_exam_main"
                  name="Exams"
                  parent="menu_op_school_exam_result"
                  sequence="20"
                  action="act_open_op_exam_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

        <menuitem id="menu_op_exam_attendees_sub"
                  name="Exam Attendees"
                  parent="menu_op_school_exam_result"
                  sequence="30"
                  action="act_open_op_exam_attendees_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

        <menuitem id="menu_op_result_template"
                  name="Result Templates"
                  parent="menu_op_school_exam_result"
                  sequence="70"
                  action="act_open_op_result_template_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

        <menuitem id="menu_op_marksheet_register_sub"
                  name="Marksheet Registers"
                  parent="menu_op_school_exam_result"
                  sequence="100"
                  action="act_open_op_marksheet_register_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

        <menuitem id="menu_op_marksheet_line_sub"
                  name="Marksheet Lines"
                  parent="menu_op_school_exam_result"
                  sequence="110"
                  action="act_open_op_marksheet_line_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

        <menuitem id="menu_op_result_line_sub"
                  name="Result Lines"
                  parent="menu_op_school_exam_result"
                  sequence="120"
                  action="act_open_op_result_line_view"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>


        <menuitem id="menu_exam_configuration"
                  parent="menu_op_exam_root"
                  sequence="30"
                  name="Configuration"
                  groups="openeducat_exam.group_op_exam_admin"/>

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

        <menuitem id="menu_op_exam_type_sub"
                  name="Exam Types"
                  parent="menu_exam_configuration"
                  sequence="10"
                  action="act_open_op_exam_type_view"
                  groups="openeducat_exam.group_op_exam_admin"/>

        <menuitem id="menu_op_exam_room_sub"
                  name="Exam Rooms"
                  parent="menu_exam_configuration"
                  sequence="20"
                  action="act_open_op_exam_room_view"
                  groups="openeducat_exam.group_op_exam_admin"/>

        <menuitem id="menu_op_grade_configuration"
                  name="Grade Configuration"
                  parent="menu_exam_configuration"
                  sequence="40"
                  action="act_open_op_grade_configuration_view"
                  groups="openeducat_exam.group_op_exam_admin"/>

        <menuitem id="menu_op_exam_general"
                  name="Reporting"
                  parent="menu_op_exam_root"
                  sequence="20"/>

        <menuitem id="menu_student_hall_ticket"
                  name="Result Analysis"
                  parent="menu_op_exam_general"
                  sequence="30"
                  action="act_open_op_result_line_view_graph"
                  groups="openeducat_exam.group_op_exam_admin,openeducat_exam.group_op_exam_user"/>

</odoo>
