Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3900 Vizualizări

The footnote text is missing when generating a PDF report for both order and invoice. However, if I only generate the HMTL version, the footer information can be seen. 

I am currently using Odoo Enterprise 16 installed on Ubuntu 20.04.5 LTS
with wkhtmltopdf 0.12.5 (with patched qt)

I already tried to use different versions of wkhtmltopdf, which also didn't work and also tried to set the record report.url as seen in the video: https://www.youtube.com/watch?v=lC9p_QJUW1Q

If I want to generate a sample preview, it looks fine including the footer, however if I generate the final pdf the text of the footer is missing.


Edit: 
Solved issue by deactivating debug mode as stated in ir_actions_report.py:
# Disable the debug mode in the PDF rendering in order to not split the assets bundle
# into separated files to load. This is done because of an issue in wkhtmltopdf
# failing to load the CSS/Javascript resources in time.
# Without this, the header/footer of the reports randomly disappear
# because the resources files are not loaded in time.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 15
4657
0
mar. 15
4396
3
iul. 24
3738
1
apr. 15
4720
2
aug. 25
443