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

    <record model="ir.ui.view" id="stock_move_form_view">
        <field name="model">stock.move</field>
        <field name="inherit_id" ref="stock.view_move_form" />
        <field name="arch" type="xml">
            <xpath expr="//group[@name='origin_grp']" position="inside">
                <field
                    name="first_move_id"
                    attrs="{'invisible': [('first_move_id', '=', False)]}"
                />
                <field
                    name="first_picking_type_id"
                    attrs="{'invisible': [('first_move_id', '=', False)]}"
                />
            </xpath>
        </field>
    </record>



</odoo>
