<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 - TODAY, Wesley Oliveira <wesley.oliveira@escodoo.com.br>
     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.form.inherit.stock (in stock_available_exclude_location)</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 id="track_product_location" position="after">
                <div
                    class="col-12 col-lg-6 o_setting_box"
                    id="scrap_default_location"
                    attrs="{'invisible': [('group_stock_multi_locations', '=', False)]}"
                >
                    <div class="o_setting_left_pane">
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="stock_excluded_location_ids" />
                        <div class="content-group">
                            <field
                                name="stock_excluded_location_ids"
                                widget="many2many_tags"
                                domain="[('company_id', '=', company_id)]"
                            />
                        </div>
                    </div>
                </div>
            </div>

        </field>
    </record>

</odoo>
