Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
4796 มุมมอง

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
699
3
พ.ค. 25
2050
1
เม.ย. 25
1676
1
เม.ย. 25
1535
one2one relational field แก้ไขแล้ว
3
ก.ย. 24
14602