Posts Tagged ‘html’

Odoo 10 and 11 Reports on OpenSuSe Leap 42.3 – Images show in HTML but not in PDF

Friday, February 16th, 2018

After installing Odoo 10 or 11 on openSuSE Leap 42.3, report footer and header will show in HTML but not in PDF reports.

To solve this, we had to install the below (a patched version of wkhtmltopdf):

libwkhtmltox0-0.12.4.patched-18.1.x86_64.rpm

wkhtmltopdf-0.12.4.patched-18.1.x86_64.rpm

wkhtmltopdf-devel-0.12.4.patched-18.1.x86_64.rpm

wkhtmltopdf-qt-4.8.7.git20170418-1.1.x86_64.rpm

wkhtmltopdf-qt-devel-4.8.7.git20170418-1.1.x86_64.rpm

An alternative method also below:

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
mv wkhtmltox/bin/wkhtmlto* /usr/bin/