コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
4857 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
8月 25
847
3
5月 25
2254
1
4月 25
1758
1
4月 25
1720
3
9月 24
14873