<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 ACSONE SA/NV
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="name">res.config.settings.view</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="stock.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <div name="operations_setting_container" position="inside">
                <div
                    class="col-12 col-lg-6 o_setting_box"
                    id="stock_quant_no_inventory_if_being_picked"
                >
                    <div class="o_setting_left_pane">
                        <field name="stock_quant_no_inventory_if_being_picked" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label
                            for="stock_quant_no_inventory_if_being_picked"
                            string="Stock quant no inventory if being picked"
                        />
                        <div class="text-muted">
                            If checked, the system will prevent inventory of stock quants if some quantities are currently being picked for the same product, location, lot and package.
                        </div>
                    </div>
                </div>
            </div>
        </field>
    </record>
</odoo>
