Skip to Content
Menu
This question has been flagged
1561 Views

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>
Avatar
Discard
Related Posts Replies Views Activity
1
Apr 23
2831
1
Nov 24
2967
0
Feb 22
1996
0
Dec 20
5320
3
Jul 19
16933