Hello :) i'm a happy user of the wonderfull Odoo V9 community edition :)
I'm using it on a Debian Jessie serveur with Nginx where Odoo was instaled thru the nighly builds Odoo package.
Everything is working fine except when i want to print.
When i would print a quote, an invoice, on someone else i always have this error:
TypeError: this.contentDocument is null
in another way when i would send a document by mail i have this error:
Wkhtmltopdf a échoué (code d'erreur : -6). Message : The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display
is someone have an idea to where i should look to solve there issues ?
thank you very much by advance for your help :)
Ok i have solved to issue.
i had installed the jessie package. Which is not the best way.
then I've removed it in root: (that's why there are no "sudo" prefix)
apt-get remove --purge wkhtmltopdf
downloded and installed the last release (at this day) on the official website, installed it, and restart odoo:
dpkg -i wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/
service odoo restart
all is fine now :)
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: 11/17/15, 5:00 AM|
|Seen: 1329 times|
|Last updated: 11/17/15, 7:17 AM|