<odoo>
    <data>
        <!-- Education Level -->
        <record id="education_level_form" model="ir.ui.view">
            <field name="name">education.level.form</field>
            <field name="model">education.level</field>
            <field name="arch" type="xml">
                <form string="Education Level">
                    <sheet>
                        <group>
                            <field name="name"/>
                            <field name="level_expected_age"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="education_level_tree" model="ir.ui.view">
            <field name="name">education.level.tree</field>
            <field name="model">education.level</field>
            <field name="arch" type="xml">
                <tree string="Education Level">
                    <field name="name"/>
                    <field name="level_expected_age"/>
                </tree>
            </field>
        </record>
        <!-- Action-->
        <record model="ir.actions.act_window" id="education_level_action">
            <field name="name">Education Level</field>
            <field name="res_model">education.level</field>
            <field name="view_mode">tree,form</field>
        </record>
        <!-- Education Classroom -->
        <record id="education_classroom_form" model="ir.ui.view">
            <field name="name">education.classroom.form</field>
            <field name="model">education.classroom</field>
            <field name="arch" type="xml">
                <form string="Education Classroom">
                    <sheet>
                        <group>
                            <field name="name"/>
                            <field name="education_level_id" options="{'no_create_edit': True, 'no_create': True}"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="education_classroom_tree" model="ir.ui.view">
            <field name="name">education.classroom.tree</field>
            <field name="model">education.classroom</field>
            <field name="arch" type="xml">
                <tree string="Education Classroom">
                    <field name="name"/>
                    <field name="education_level_id" options="{'no_create_edit': True, 'no_create': True}"/>
                </tree>
            </field>
        </record>
        <!-- Action-->
        <record model="ir.actions.act_window" id="education_classroom_action">
            <field name="name">Education Classroom</field>
            <field name="res_model">education.classroom</field>
            <field name="view_mode">tree,form</field>
        </record>
        <!-- Education Result -->
        <record id="education_result_form" model="ir.ui.view">
            <field name="name">education.result.form</field>
            <field name="model">education.result</field>
            <field name="arch" type="xml">
                <form string="Education Result">
                    <sheet>
                        <group>
                            <field name="name"/>
                            <field name="evaluation" required="1"/>
                            <field name="rate_type" required="1"/>
                        </group>
                        <group>
                            <field name="min_degree" required="1"/>
                            <field name="max_degree" required="1"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="education_result_tree" model="ir.ui.view">
            <field name="name">education.result.tree</field>
            <field name="model">education.result</field>
            <field name="arch" type="xml">
                <tree string="Education Result">
                    <field name="name"/>
                    <field name="evaluation"/>
                    <field name="rate_type"/>
                    <field name="min_degree"/>
                    <field name="max_degree"/>
                </tree>
            </field>
        </record>
        <!-- Action-->
        <record model="ir.actions.act_window" id="education_result_action">
            <field name="name">Education Result</field>
            <field name="res_model">education.result</field>
            <field name="view_mode">tree,form</field>
        </record>

          <!-- Study Material -->
        <record id="study_material_form" model="ir.ui.view">
            <field name="name">study.material.form</field>
            <field name="model">study.material</field>
            <field name="arch" type="xml">
                <form string="Study Material">
                    <sheet>
                        <group>
                            <field name="name"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="study_material_tree" model="ir.ui.view">
            <field name="name">study.material.tree</field>
            <field name="model">study.material</field>
            <field name="arch" type="xml">
                <tree string="Study Material">
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <record id="education_exam_type_form" model="ir.ui.view">
            <field name="name">education.exam.type.form</field>
            <field name="model">education.exam.type</field>
            <field name="arch" type="xml">
                <form string="Exams Type">
                    <sheet>
                        <group>
                            <field name="name"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="education_exam_type_tree" model="ir.ui.view">
            <field name="name">education.exam.type.tree</field>
            <field name="model">education.exam.type</field>
            <field name="arch" type="xml">
                <tree string="Exams Type">
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Action-->
        <record model="ir.actions.act_window" id="study_material_action">
            <field name="name">Study Material</field>
            <field name="res_model">study.material</field>
            <field name="view_mode">tree,form</field>
        </record>
        <record model="ir.actions.act_window" id="education_illiterate_reason_action">
            <field name="name">Education Illiterate Reason</field>
            <field name="res_model">education.illiterate.reason</field>
            <field name="view_mode">tree,form</field>
        </record>

        <record model="ir.actions.act_window" id="education_delay_reason_action">
            <field name="name">Education Delay Reason</field>
            <field name="res_model">education.delay.reason</field>
            <field name="view_mode">tree,form</field>
        </record>

        <record model="ir.actions.act_window" id="education_exam_type_action">
            <field name="name">Exams Type</field>
            <field name="res_model">education.exam.type</field>
            <field name="view_mode">tree,form</field>
        </record>
    </data>
</odoo>
