<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="hr_attendance.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//div[@data-key='hr_attendance']//div[hasclass('o_settings_container')]"
                position="inside"
            >
                <div class="col-12 col-lg-6 o_setting_box">
                    <div class="o_setting_left_pane">
                        <field name="show_reason_on_attendance_screen" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="show_reason_on_attendance_screen" />
                        <div class="text-muted">Show reasons on attendance screen</div>
                    </div>
                </div>
                <div class="col-12 col-lg-6 o_setting_box">
                    <div class="o_setting_left_pane">
                        <field name="required_reason_on_attendance_screen" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="required_reason_on_attendance_screen" />
                        <div
                            class="text-muted"
                        >Required reason on attendance screen</div>
                    </div>
                </div>
            </xpath>
        </field>
    </record>
</odoo>
