Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
4700 Widoki

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!


Awatar
Odrzuć

Please use a meaningful title.

Najlepsza odpowiedź

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,

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you very much, the configuration worked

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
330
3
maj 25
1691
1
kwi 25
1494
1
kwi 25
1270
3
wrz 24
14156