Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
7918 Lượt xem

My odoo is running on UBUNTU 18 - BIONIC

My application is running properly but can't able to generate any pdf

If I install wkhtmltox version 0.12.4, I can able to generate the pdf but it specifies as The document contains no pages

and if I install version 0.12.5 than its gives an error as Wkhtmltopdf failed (error code: -8). Message: b''
and if I install version 0.12.1 than its gives an error as Wkhtmltopdf failed (error code: -6). Message: b''

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You can try to install the ttf-mscorefonts-installer package and clear your font cache:

sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f -v

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thanks a lot @ Rohit Ramnani and

Ảnh đại diện
Huỷ bỏ
Tác giả

Mitul Shingala

Bài viết liên quan Trả lời Lượt xem Hoạt động
13
thg 12 17
38966
2
thg 1 24
3824
3
thg 12 18
10937
1
thg 4 15
5192
5
thg 5 18
4199