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

Hello,

I installed Odoo on CentOs VPs using this link . All things was fine. But when I'm trying to print any report

it appears with different strange format just like this one. I changed the wkhtmltopdf to version 0.12.1 but the

nothing changed, I found this question and I thought it is a port issue .. then I tried to access the server via ip:8069 . and the

report format changed to the usual format. I also tried this on the local machine running Ubuntu 14.04 and also with a machine running Ubuntu 12.04. the problem appear when I set the iptables rules I used these rules on Ubuntu:


sudo iptables -A INPUT -p tcp --dport 5432 -i lo -j ACCEPT
sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069
sudo iptables -A INPUT -p tcp --dport 8069 -j ACCEPT
sudo iptables-save


I hope if any one has a clue to solve this issue ...

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

Hi, I Solved it by using Apatche server ...

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

Hi,

Please try with nginx reverse proxy server.

http://www.technaureus.com/how-to-run-odoo-on-port-80/

http://www.technaureus.com/how-to-setup-nginx-for-odoo/


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

use nginx  it will fix it to you 

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

Hi,

not sure but try the following:

Activate "Technical Features" for your user. Refresh your site (F5) and
go to Settings->Technical->Parameters->System Parameters.

Now change web.base.url to your odoo adress and your port (http://localhost:80).
Andre

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

Hi Andre, Thanks but It seems that it doesn't work ....

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 16
10050
change to port 80 instead of 8069 แก้ไขแล้ว
9
ก.พ. 24
127482
5
มิ.ย. 17
9105
5
พ.ย. 16
6986
0
ส.ค. 16
5180