<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Tecnativa - Sergio Teruel
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_stock_move_line_operation_tree" model="ir.ui.view">
        <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="product_uom_id" position="after">
                <field
                    name="elaboration_ids"
                    widget="many2many_tags"
                    options="{'no_create': True}"
                    optional="hide"
                />
                <field name="elaboration_note" optional="hide" />
            </field>
        </field>
    </record>
    <record id="view_stock_move_line_detailed_operation_tree" model="ir.ui.view">
        <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="product_uom_id" position="after">
                <field
                    name="elaboration_ids"
                    widget="many2many_tags"
                    options="{'no_create': True}"
                    optional="hide"
                />
                <field name="elaboration_note" optional="hide" />
            </field>
        </field>
    </record>
    <record id="view_move_line_tree_detailed" model="ir.ui.view">
        <field name="model">stock.move.line</field>
        <field name="inherit_id" ref="stock.view_move_line_tree_detailed" />
        <field name="arch" type="xml">
            <field name="product_uom_id" position="after">
                <field
                    name="elaboration_ids"
                    widget="many2many_tags"
                    options="{'no_create': True}"
                    optional="hide"
                />
                <field name="elaboration_note" optional="hide" />
            </field>
        </field>
    </record>
</odoo>
