<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="res_partner_form_inherit_l10n_lu_peppol_id" model="ir.ui.view">
        <field name="name">res.partner.form.inherit.l10n_lu_peppol_id</field>
        <field name="model">res.partner</field>
        <field name="inherit_id" ref="account.view_partner_property_form"/>
        <field name="arch" type="xml">
            <xpath expr="//group[@name='misc']" position="inside">
                <field name="country_code" invisible="1"/>
                <field name="l10n_lu_peppol_identifier" attrs="{'invisible': [('country_code', '!=', 'LU')]}"/>
            </xpath>
        </field>
    </record>
</odoo>
