0

I installed odoo 9 under ubuntu server 15.10 with wkhtmltopdf 0.12.2.4.

Everytime I print sales order, it raises error:

Odoo Warning - Warning

Wkhtmltopdf failed (error code: -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.

I've tried to solved this bug but still failed, help me please

Community
  • 1
  • 1
yogakumboro
  • 127
  • 5
  • 14

1 Answers1

1

I can't take credit for this answer, but I was able to solve the issue using the solution provided by Tsounabe here: Stack Overflow Patched QT Topic

The only thing I can add is that I changed the version (0.12.3) in each line to the latest (0.12.4) and was able to use the latest version to accomplish the same thing.

Good luck!

Community
  • 1
  • 1
Lefneer311
  • 26
  • 1