<?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_picking_form_view">
        <field name="name">stock.picking.form (in stock_procurement_customer)</field>
        <field name="model">stock.picking</field>
        <field name="inherit_id" ref="stock.view_picking_form" />
        <field name="arch" type="xml">
            <field name="partner_id" position="after">
                <field name="customer_id_visible" invisible="1" />
                <div
                    class="o_td_label"
                    attrs="{'invisible': [('customer_id_visible', '=', False)]}"
                >
                    <label
                        for="customer_id"
                        string="Customer Address"
                        style="font-weight:bold;"
                    />
                </div>
                <field
                    name="customer_id"
                    nolabel="1"
                    attrs="{'invisible': [('customer_id_visible', '=', False)]}"
                />
            </field>
        </field>
    </record>

</odoo>
