Skip to Content
Menú
This question has been flagged
1 Respondre
986 Vistes

Hey,


I'm using Odoo 16 with wkhtmltopdf for PDF generation. 

My problem is:

​-The generated PDFs do not include CSS, showing only plain text (with header and footer)

In my configuration:

  • web.base.url = https://mydomain.com
  • report.url = http://127.0.0.1:8069

The Odoo instance runs in a Docker container behind an Nginx reverse proxy


Any advice to fix this would be appreciated

Avatar
Descartar
Best Answer

Set the value of report.url to  http://localhost:8069, this worked for me, also add another param:

report.url.freeze = True

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de des. 18
10725
2
de juny 18
12410
3
de juny 18
4863
2
de set. 15
7040
1
de maig 15
8965