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!
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!
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,
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
2
dec. 25
|
5633 | |||
|
trying to match fields for products
Rezolvat
|
2
mar. 26
|
2131 | ||
|
2
oct. 25
|
5589 | |||
|
1
oct. 25
|
3012 | |||
|
1
aug. 25
|
3617 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Please use a meaningful title.