<?xml version="1.0"?>
<form string="Move Detail">
                    <field name="sequence" invisible="1"/>
                    <field name="company_id" invisible="1"/>
                    <field name="state" invisible="1"/>
                    <field name="location_id" invisible="1"/>
                    <field name="location_dest_id" invisible="1"/>
                    <field name="picking_id" invisible="1" readonly="state == 'done'"/>
                    <field name="picking_type_id" invisible="1"/>
                    <field name="is_locked" invisible="1"/>
                    <field name="picking_type_entire_packs" invisible="1"/>
                    <field name="display_assign_serial" invisible="1"/>
                    <field name="display_import_lot" invisible="1"/>
                    <field name="product_uom_category_id" invisible="1"/>
                    <field name="product_uom" invisible="1" groups="!uom.group_uom"/>
                    <field name="picking_code" invisible="1"/>
                    <field name="has_tracking" invisible="1"/>
                    <field name="show_quant" invisible="1"/>
                    <field name="show_lots_text" invisible="1"/>
                    <field name="show_lots_m2o" invisible="1"/>
                    <group>
                        <group>
                            <field name="product_id" readonly="id or move_line_ids"/>
                            <label for="product_uom_qty"/>
                            <div class="o_row">
                                <span><field name="product_uom_qty" readonly="state != 'draft'" nolabel="1"/></span>
                                <span><field name="product_uom" groups="uom.group_uom" readonly="state != 'draft'" nolabel="1" options="{'no_open': True}"/></span>
                            </div>
                        </group>
                        <group/>
                    </group>
                    <div class="d-flex">
                        <widget class="btn btn-link btn-group" name="generate_serials" invisible="not display_assign_serial"/>
                        <widget class="btn btn-link btn-group" name="import_lots" invisible="not display_import_lot"/>
                    </div>
                    <field name="move_line_ids" readonly="state == 'cancel' or (state == 'done' and is_locked) or not product_id" context="{'list_view_ref': 'stock.view_stock_move_line_operation_tree', 'form_view_ref': 'stock.view_move_line_mobile_form', 'default_picking_id': picking_id, 'default_move_id': id, 'default_product_id': product_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id, 'default_company_id': company_id, 'active_picking_id': picking_id}" widget="sml_x2_many"/>
                </form>
            