콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7982 화면

Hello,

i just release installation of Odoo 11 and install wkhtmltopdf. Is installed on Ubuntu 18

Now, when I click to "print" for get the PDF, is downloaded by PDF viewer say me that page is empty.

I think it's parameter to manage on wkhtmltopdf, but see which parameter and where I have to modify it.

Any advice ? 

Thanks a lot

아바타
취소

it works !


Many thanks Yenthe.

You're welcome! Don't forget to upvote/accept an answer if it has helped you. :-)

베스트 답변

Hi David,

The wkhtmltopdf download packages for Ubuntu 18.04 or not by default working and enabled. You can resolve your issue with the following commands:

sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo apt-get install -f
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin

Afterwards restart your Odoo service and you should be able to print the PDF out fine..

P.S: Original answer was made at https://www.odoo.com/nl_NL/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198

Regards,
Yenthe

아바타
취소

I tried out the way you posted but it throws an error unable to resolve host address ‘builds.wkhtmltopdf.org’

관련 게시물 답글 화면 활동
0
3월 25
1758
1
3월 25
1857
2
7월 24
4414
1
5월 24
2827
2
2월 24
3679