Skip to Content
Menu
This question has been flagged
1 Atsakyti
1378 Rodiniai

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

Portretas
Atmesti
Best Answer

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

report.url.freeze = True

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
gruod. 18
11150
2
birž. 18
12853
3
birž. 18
5176
2
rugs. 15
7374
1
geg. 15
9359