Skip to Content
Menú
This question has been flagged
1569 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
1
d’abr. 23
2846
1
de nov. 24
2986
0
de febr. 22
2006
0
de des. 20
5335
3
de jul. 19
16949