Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
4750 Vues

Hello,


I am trying to change a field of a report. I want to change TIN for NIT. I send an image to explain the change https://pasteboard.co/HjHnn9f.png


Thank you!


Avatar
Ignorer

Please use a meaningful title.

Meilleure réponse

Hello Juan,

For Odoo v11:

For that you can set "Vat Label" in Country of your Company, if it is not set in country then it will default display "TIN"

Here, I have attached screenshot.


Odoo v10 & v9 :

You can inherit external_layout_footer as following :

<template id="external_layout_footer" inherit_id="report.external_layout_footer">
     <xpath expr="// li[@t-if='company.vat']" position="replace">
        <li t-if="company.vat">NIT: <span t-field="company.vat"/></li>
    </xpath>
</template>

Thanks,

Avatar
Ignorer
Auteur Meilleure réponse

Thank you very much, the configuration worked

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
août 25
557
3
mai 25
1841
1
avr. 25
1579
1
avr. 25
1377
3
sept. 24
14337