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!
I'm having the same issue with the PDF reports being blank, but only seems to be with the Odoo 10 Community. I install Odoo 10 Enterprise, load sample data, same everything as community, and it prints a PDF with data.
Run both from the same laptop. Even run Ent but connect back to community database, and reports are populated. Windows 7 enterprise laptop.
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.
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: 6781 times|
|Last updated: 6/18/17, 9:52 PM|