Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7878 มุมมอง

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''

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks a lot @ Rohit Ramnani and

อวตาร
ละทิ้ง
ผู้เขียน

Mitul Shingala

Related Posts ตอบกลับ มุมมอง กิจกรรม
Wkhtmltopdf failed (error code: -11) แก้ไขแล้ว
13
ธ.ค. 17
38924
No logo, footer, address printed on PDF แก้ไขแล้ว
2
ม.ค. 24
3805
3
ธ.ค. 18
10903
1
เม.ย. 15
5163
5
พ.ค. 18
4176