Skip to content
Martin Trigaux edited this page Apr 26, 2016 · 12 revisions

The version of wkhtmltopdf available in Debian/Ubuntu repositories does not support headers and footers (requires patched QT version), so it must be downloaded from the project's page. Moreover, as there is no official release of 0.12.1 for Debian Jessie in the official downloads page, we've built one here.

  • 0.12.0[.*]: not recommended, minimal supported version as of Odoo 8.
    • Several known issues fixed in 0.12.1.
  • 0.12.1[.*]: recommended version - In production on Odoo Online (.deb for Debian jessie).
    Known problems:
    • Some rare crashes during layout of multi-page tables (workaround: play with margins and/or dpi settings: 96, 100, 110dpi). Appears to be fixed in 0.12.2, but this version has worse problems.
    • Known exponential memory usage and file descriptors usage when rendering documents with many pages (500+). Workaround: increase fd limit with ulimit, remove header/footers (internal layout). Experimental horrible patch: split the long table in smaller chunks and use pyPdf to merge the pages.
  • 0.12.2[.*]: not recommended.
    Known problems:
  • 0.12.3[.*]: not recommended. Known problems:
    • --dpi parameter still broken, see 0.12.2
Clone this wiki locally