This question has been flagged
3 Replies
6031 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

Thanks a lot @ Rohit Ramnani and

Avatar
Discard
Author

Mitul Shingala