Im extending a existent localization , ive made some changes but when I change compay to other who isnt in the country of the localization that im extending, the changes still persisting. Thats an inconvenient because if the country is different the localization need to stop aplying
This is the code im uploading on a custom module and this just change VAT for TIN text in partner creation.
<record model="ir.ui.view" id="l10n_cr_extra.partner_vat_x_tin">
<field name="name">l10n_cr_extra.partner_vat_x_tin</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="replace">
<field name="vat" string="TIN"/>
</xpath>
</field>
</record>