Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odoo v15.x not outputting PDFs as expected #1343

Closed
JedMeister opened this issue Jul 4, 2019 · 0 comments · Fixed by turnkeylinux-apps/odoo#14

Comments

@JedMeister
Copy link
Member

commented Jul 4, 2019

As reported in our forums the current v15.1 Odoo appliance doesn't output PDFs as expected.

Apparently it can be resolved by updating the version of wkhtmltopdf. I.e. remove the installed version (v0.12.3 - from the Debian repos) and download and install a newer version (currently v0.12.5) direct from upstream.

Here's the workaround (assumes root, if not root, precede these commands with sudo su -, or each individual command with sudo):

apt-get remove wkhtmltopdf
DEB=/wkhtmltox_0.12.5-1.stretch_amd64.deb
URL=https://downloads.wkhtmltopdf.org/0.12/0.12.5
wget $URL/$DEB
dpkg -i $DEB

Please note that from my reading of the Odoo source code, you will likely also need to increase workers >= 2 in your Odoo conf file (/etc/odoo/odoo.conf) and restart Odoo (service odoo restart).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.