<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ForgeFlow S.L. (http://www.forgeflow.com)
     Copyright 2019 Tecnativa - Pedro M. Baeza
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_inventory_form" model="ir.ui.view">
        <field
            name="name"
        >Inventory form view - stock_inventory_exclude_sublocation extension</field>
        <field name="model">stock.inventory</field>
        <field name="inherit_id" ref="stock.view_inventory_form" />
        <field name="arch" type="xml">
            <field name="location_ids" position="after">
                <field
                    name="exclude_sublocation"
                    groups="stock.group_stock_multi_locations"
                />
            </field>
        </field>
    </record>
</odoo>
