<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="res_config_settings_shift_view_form" model="ir.ui.view">
        <field name="name">Shifts Settings</field>
        <field name="model">res.config.settings</field>
        <field name="priority" eval="50" />
        <field name="inherit_id" ref="base.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath expr="///div[hasclass('settings')]" position="inside">
                <div
                    id="shift_settings_block"
                    class="app_settings_block"
                    data-string="Shifts Settings"
                    string="Shifts Settings"
                    data-key="shift"
                    groups="shift.group_cooperative_admin"
                >
                <h2>Shift: General Settings</h2>
                    <div class="row mt16 o_settings_container">
                        <div class="col-12 col-lg-6 o_setting_box">
                            <div class="o_setting_right_pane">
                                <span class="o_form_label">
                                    Shift period
                                </span>
                                <div class="text-muted">
                                    Usual number of days between two shifts for regular workers
                                </div>
                                <div class="content-group">
                                    <div class="mt16 row">
                                        <label
                                            for="shift_period"
                                            string="Days"
                                            class="col-3 col-lg-3 o_light_label"
                                        />
                                        <field
                                            name="shift_period"
                                            class="oe_inline"
                                            required="1"
                                        />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </xpath>
        </field>
    </record>

</odoo>
