1 Download the deb file for the wkhtmltopdf library
- sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
2 Download the Libpng12 library
- wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
3 Install the Libpng12 library
- sudo dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb
4 Install now the wkhtmltopdf deb file
- sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
5 Copy the binary files to the bin locations:
- sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
- sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
6 Restart Odoo Server, (You may need to refresh Odoo on your Browser to start downloading PDF reports)
- service odoo restart
No comments:
Post a Comment