<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2025 Akretion France (https://www.akretion.com/)
  @author: Alexis de Lattre <alexis.delattre@akretion.com>
  License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->

<odoo>

<record id="view_partner_property_form" model="ir.ui.view">
    <field name="model">res.partner</field>
    <field name="inherit_id" ref="purchase.view_partner_property_form"/>
    <field name="arch" type="xml">
        <field name="property_purchase_currency_id" position="before">
            <field name="purchase_picking_type_id" attrs="{'invisible': [('parent_id', '!=', False)]}"/>
        </field>
    </field>
</record>

</odoo>

