<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record id="res_company_form_inherit_nl" model="ir.ui.view">
            <field name="name">res.company.form.inherit.l10n.nl</field>
            <field name="model">res.company</field>
            <field name="inherit_id" ref="base.view_company_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='vat']" position="after">
                    <field name="l10n_nl_kvk" attrs="{'invisible': [('country_code', '!=', 'NL')]}"/>
                    <field name="l10n_nl_oin" attrs="{'invisible': [('country_code', '!=', 'NL')]}"/>
                </xpath>
            </field>
        </record>
    </data>
</odoo>
