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've tried multiple versions of wkhtmltopdf and also configured the report.url to the address of our odoo onlineshop and the webkit_path is set to /usr/bin/wkhtmltopdf
The pdf report is showing only the text with the footer, but without the header. Everything aligned to the left side and no colors. So it seems the css is not integrated. How could I investigate furthur? Where might be my problem?
thanks for your good summary of what should be done!
With your help I got it to work! I'll explain my solution for others:
First I removed my other wkhtmltox with 'apt-get remove --purge wkhtmltox'
Then 'cd ~/tmp' and got me the 0.12.1 wkthmltopdf with 'wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb'
I installed it with 'dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb' and then copied the files to /usr/bin/ with
'mv wkhtmltoimage /usr/bin'
'mv wkhtmltopdf /usr/bin'
I verified the version with 'cd -' and 'wkhtmltopdf --version'
Then I restarted odoo and went as Yenthe explained to Settings > Technical > Parameters > System parameters and changed the web.base.url parameter to http://mywebsitewithodoo.com:8069
I figured that I did not need to set web.base.url.freeze to True
Thanks a lot!
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/13/16, 9:42 AM|
|Seen: 1143 times|
|Last updated: 1/14/16, 9:30 AM|