<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="view_partner_form_inherit_l10n_no" model="ir.ui.view">
        <field name="name">res.partner.form.inherit.l10n_no</field>
        <field name="model">res.partner</field>
        <field name="inherit_id" ref="base.view_partner_form"/>
        <field name="priority">14</field>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='vat']" position="after">
                <field name="l10n_no_bronnoysund_number" invisible="country_code != 'NO' or not is_company"/>
            </xpath>
        </field>
    </record>
</odoo>
