Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
685 Zobrazení

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
Zrušit
Nejlepší odpověď

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

report.url.freeze = True

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
pro 18
10454
2
čvn 18
12093
wkhtmltopdf Vyřešeno
3
čvn 18
4672
2
zář 15
6775
1
kvě 15
8710