<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record model="ir.ui.view" id="custom_pos_config_extended_form_view">
            <field name="name">pos.config.form.extended.view</field>
            <field name="model">pos.config</field>
            <field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
            <field name="arch" type="xml">
                <xpath expr="//h2[@name='order']" position="before">
                    <h2 name="order">POS Restrict Quantity Configuration</h2>
                    <div class="row mt16 o_settings_container">
                        <div class="col-12 col-lg-6 o_setting_box">
                            <div class="o_setting_left_pane">
                                <field name="restrict_zero_qty" />
                            </div>
                            <div class="o_setting_right_pane">
                                <label for="restrict_zero_qty" />
                                <div class="text-muted">
                                    Zero Quantity Product Validation
                                </div>
                            </div>
                        </div>
                    </div>
                </xpath>    
            </field>
        </record>
    </data>
</odoo>
