Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
5432 มุมมอง

I reroute to port 80 with iptables in /etc/rc.local

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069

it works great, BUT then wkhtmltopdf or my PDF printing is not working.

Any suggestions?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

wkhtml pdf running internally so it should be enough to add report.url 127.0.0.1:PORT in system parameters.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

please be more specific as where to add this setting and should it be  report.url 127.0.0.1:80
I run Odoo on a Ubuntu VPS

อวตาร
ละทิ้ง
ผู้เขียน

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 18
13194
2
ก.ย. 15
7650
Erro with wkhtmltopdf and Odoo11 แก้ไขแล้ว
3
มี.ค. 19
7989
Error Code -11 WKHTMLTOPDF แก้ไขแล้ว
1
ต.ค. 15
7199
Odoo16 PDF Reports Missing CSS แก้ไขแล้ว
1
มิ.ย. 25
1628