<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="res_config_settings_view_form_timetable" model="ir.ui.view">
        <field name="name">res.config.settings.view.form.timetable</field>
        <field name="model">res.config.settings</field>
        <field name="priority" eval="40"/>
        <field name="inherit_id" ref="openeducat_core.res_config_settings_view_form_core"/>
        <field name="arch" type="xml">
            <xpath expr="//div[@id='timetable_constraints']" position="inside">
                    <div class="col-12 col-lg-6 o_setting_box">
                        <div class="o_setting_left_pane">
                            <field name="is_batch_constraint"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="is_batch_constraint"/>
                            <span class="fa fa-info-circle" title="Openeducat Enterprise Module"/>
                            <div class="text-muted">
                                Selecting this option will prevent session creation for the same batch, even if it's for a different subject.
                            </div>
                        </div>
                    </div>
                    <div class="col-12 col-lg-6 o_setting_box">
                        <div class="o_setting_left_pane">
                            <field name="is_batch_and_subject_constraint"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="is_batch_and_subject_constraint"/>
                            <span class="fa fa-info-circle" title="Openeducat Enterprise Module"/>
                            <div class="text-muted">
                                Selecting this option will prevent session creation for the same batch and subject on the same date and time.
                            </div>
                        </div>
                    </div>
                    <div class="col-12 col-lg-6 o_setting_box">
                        <div class="o_setting_left_pane">
                            <field name="is_classroom_constraint"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="is_classroom_constraint"/>
                            <span class="fa fa-info-circle" title="Openeducat Enterprise Module"/>
                            <div class="text-muted">
                                Selecting this option will prevent session creation in the same classroom on the same date and time
                            </div>
                        </div>
                    </div>
                    <div class="col-12 col-lg-6 o_setting_box">
                        <div class="o_setting_left_pane">
                            <field name="is_faculty_constraint"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="is_faculty_constraint"/>
                            <span class="fa fa-info-circle" title="Openeducat Enterprise Module"/>
                            <div class="text-muted">
                                Selecting this option will prevent session creation with the same faculty on the same date and time.
                            </div>
                        </div>
                    </div>
            </xpath>
        </field>
    </record>
</odoo>
