Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
700 Weergaven

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
Annuleer
Beste antwoord

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

report.url.freeze = True

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
dec. 18
10458
2
jun. 18
12101
wkhtmltopdf Opgelost
3
jun. 18
4680
2
sep. 15
6778
1
mei 15
8716