Ir al contenido
Menú
Se marcó esta pregunta
1568 Vistas

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 23
2833
1
nov 24
2982
0
feb 22
1998
0
dic 20
5326
3
jul 19
16938