<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 ACSONE SA/NV
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>

    <record model="ir.ui.view" id="stock_move_line_form_view">
        <field
            name="name"
        >stock.move.line.form (in stock_move_line_reserved_quant)</field>
        <field name="model">stock.move.line</field>
        <field name="inherit_id" ref="stock.view_stock_move_line_operation_tree" />
        <field name="arch" type="xml">
            <field name="reserved_uom_qty" position="after">
                <field
                    name="reserved_quant_id"
                    optional="hide"
                    groups="stock.group_stock_manager"
                />
            </field>
        </field>
    </record>

    <record model="ir.ui.view" id="view_stock_move_line_detailed_operation_tree">
        <field
            name="name"
        >stock.move.line.form (in stock_move_line_reserved_quant)</field>
        <field name="model">stock.move.line</field>
        <field
            name="inherit_id"
            ref="stock.view_stock_move_line_detailed_operation_tree"
        />
        <field name="arch" type="xml">
            <field name="reserved_uom_qty" position="after">
                <field
                    name="reserved_quant_id"
                    optional="hide"
                    groups="stock.group_stock_manager"
                />
            </field>
        </field>
    </record>

    <record model="ir.ui.view" id="view_move_line_tree">
        <field
            name="name"
        >stock.move.line.form (in stock_move_line_reserved_quant)</field>
        <field name="model">stock.move.line</field>
        <field name="inherit_id" ref="stock.view_move_line_tree" />
        <field name="arch" type="xml">
            <field name="result_package_id" position="after">
                <field
                    name="reserved_quant_id"
                    optional="hide"
                    groups="stock.group_stock_manager"
                />
            </field>
        </field>
    </record>


</odoo>
