Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm running Odoo v8, and recently ran into some troubles with printing orders/invoices/packing slips/what more have you. Two months back I've modified the external headers/footers to display our logo's, and it has been printing correctly until yesterday. The .pdf files printed do not display any content whatsoever.
As said, I've modified the external header/footer in Settings -> User Interface -> Views -> external_layout_header and external_layout_footer. If I remove or rename the div class="header"/"footer" respectively, I can print pdf's again, however without the content of the header/footer.
Server log doesn't show any wkhtmltopdf errors, and as said, everything has been working until yesterday and since then no apperent changes have been made.
Would like some help to isolate/resolve this issue. Thanks!
Tried with the latest version (0.12.2.1) with:
sudo wget http://sourceforge.net/projects/wkhtmltopdf/files/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
Rebooted and loged out/in on the Odoo interface. Still I'm faced with it printing empty pages.
(@zbik, sorry, couldn't comment on your answer, the forum doesn't allow me to because I need 30pts.)
Probably problem with wkhtmltopdf. To solve wkhtmltopdf issue (report are empty) try this:
- sudo wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb (or 32 version)
- sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
- sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
- sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
- restart server.
Hope this help.
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/31/15, 7:22 AM|
|Seen: 4453 times|
|Last updated: 3/16/15, 8:10 AM|