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
I hope if any one has a clue to solve this issue ...
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/17/15, 11:10 AM|
|Seen: 1060 times|
|Last updated: 3/19/15, 9:20 AM|