This question has been flagged
2 Replies
5268 Views

Hi all,

I'm trying to customize my invoice pdf document, but every change is not visible in the pdf, just the tranlsation are working.


If I comment a line in the qweb view editor of view: "report_invoice_document" it is still visible in the pdf.

for example:

<!--div t-if="o.partner_id.vat" class="mt16"><t t-esc="o.company_id.country_id.vat_label or 'TIN'"/>: <span t-field="o.partner_id.vat"/></div--> 

the vat number is still visible on the invoice pdf...

My need is to add a custom field...
Avatar
Discard
Author Best Answer

Thanks for your replay, but I've already checked,

the Reload from attachment is already unthicked.

Any other possibilities or ideas?

Is the report_invoice_document the right view to edit? I'm getting a little bit confused.

Avatar
Discard
Best Answer

Hi,

Activate the developer mode and navigate to Settings -> Technical -> Reporting -> Reporting ,

then search four your report and open it.   Then in the Advanced Properties tab you can see a check box  Reload from attachment, if it ticked means just untick it and try again.




Thanks

Avatar
Discard