Install The Wkhtmltopdf Extension in Odoo 15 Package By Bitnami问题
Install The Wkhtmltopdf Extension issue in Odoo 15 Packaged By Bitnami
Install The Wkhtmltopdf Extension in Odoo 15 Packaged By Bitnami For Windows / Linux / MacOS / OS X VM
我在 VMware workstation 16 上使用 odoo 15 时遇到这个错误
Error / issue image | screenshot
这是我的 odoo 网络界面中显示的错误
Report
Unable to find Wkhtmltopdf on this system.
The report will be shown in html.<br><br><a
href="http://wkhtmltopdf.org/"
target="_blank">wkhtmltopdf.org</a>
有人可以帮忙解决这个问题吗?
我在 VMware workstation 16 pro 上使用 odoo 15 时遇到同样的错误
具体来说:
bitnami_odoo-15.0.202111010-0-linux-debian-10-x86_64-nami - VMware Workstation
尝试打印 pdf 时出现问题:
Report
Unable to find Wkhtmltopdf on this system.
The report will be shown in html.<br><br><a
href="http://wkhtmltopdf.org/"
target="_blank">wkhtmltopdf.org</a>
(如果你没有尝试过文档方法,我认为你应该先尝试一下)
如果您正在关注 Bitnami by VMware Documentation 但它对您不起作用,就像我的情况,那么 ...
首先,在您的虚拟机上启动您的 odoo 15 并登录:
按照这些教程进行操作,它们都对我很有效:
-
-
WKHtmlToPdf
为了打印报告,odoo 生成一个 html,将其发送到负责 html->pdf 转换的 wkhtmltopdf。
$ sudo apt install libxrender1 fontconfig
$ wget http://nightly.odoo.com/deb/xenial/wkhtmltox-0.12.1_linux-trusty-amd64.deb
$ wget http://ftp.fr.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb
$ sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb
$ sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
Step 6: Installing Wkhtmltopdf
Odoo uses wkhtmltopdf to convert the html reports into pdf format. But all the versions of wkhtmltopdf does not support odoo. Here is the process to install the supported version for a system with 64 bit architecture. First download the package for installation:
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
Once the package is downloaded install it and copy the files accordingly:
dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
当你完成后,重启你的虚拟机,它应该可以工作了 ✅✅
Install The Wkhtmltopdf Extension in Odoo 15 Packaged By Bitnami For Windows / Linux / MacOS / OS X VM
我在 VMware workstation 16 上使用 odoo 15 时遇到这个错误
Error / issue image | screenshot
这是我的 odoo 网络界面中显示的错误
Report
Unable to find Wkhtmltopdf on this system.
The report will be shown in html.<br><br><a
href="http://wkhtmltopdf.org/"
target="_blank">wkhtmltopdf.org</a>
有人可以帮忙解决这个问题吗?
我在 VMware workstation 16 pro 上使用 odoo 15 时遇到同样的错误
具体来说:
bitnami_odoo-15.0.202111010-0-linux-debian-10-x86_64-nami - VMware Workstation
尝试打印 pdf 时出现问题:
Report
Unable to find Wkhtmltopdf on this system.
The report will be shown in html.<br><br><a
href="http://wkhtmltopdf.org/"
target="_blank">wkhtmltopdf.org</a>
(如果你没有尝试过文档方法,我认为你应该先尝试一下)
如果您正在关注 Bitnami by VMware Documentation 但它对您不起作用,就像我的情况,那么 ...
首先,在您的虚拟机上启动您的 odoo 15 并登录:
按照这些教程进行操作,它们都对我很有效:
WKHtmlToPdf
为了打印报告,odoo 生成一个 html,将其发送到负责 html->pdf 转换的 wkhtmltopdf。
$ sudo apt install libxrender1 fontconfig
$ wget http://nightly.odoo.com/deb/xenial/wkhtmltox-0.12.1_linux-trusty-amd64.deb
$ wget http://ftp.fr.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb
$ sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb
$ sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
Step 6: Installing Wkhtmltopdf Odoo uses wkhtmltopdf to convert the html reports into pdf format. But all the versions of wkhtmltopdf does not support odoo. Here is the process to install the supported version for a system with 64 bit architecture. First download the package for installation:
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
Once the package is downloaded install it and copy the files accordingly:
dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
当你完成后,重启你的虚拟机,它应该可以工作了 ✅✅