Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
4734 Представления

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!


Аватар
Отменить

Please use a meaningful title.

Лучший ответ

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,

Аватар
Отменить
Автор Лучший ответ

Thank you very much, the configuration worked

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
авг. 25
555
3
мая 25
1832
1
апр. 25
1577
1
апр. 25
1370
3
сент. 24
14316