Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

RenderPMError: Can't setFont(Times-Roman) missing the T1 files

Avatar
odoo
Avatar
Discard
4 Answers
0
Avatar
odoo
Best Answer

All I need to do to fix this issue was run this command: 

            pip3 install reportlab --upgrade in the system. 

That works fine!

2 Comments
Avatar
Discard
Avatar
odoo
-

This worked for odoo 13, thanks !

Avatar
odoo
-

Solved problem for me in Odoo14, thanks.

0
Avatar
odoo
Best Answer

Download and uncompress in /path/to/your/python/site-packages/reportlab/fonts these file

http://www.reportlab.com/ftp/fonts/pfbfer.zip

Restart server and try

1 Comment
Avatar
Discard
Avatar
odoo
-

This still holds true for the same error on Odoo 10 server. Thanks very much!

0
Avatar
odoo
Best Answer

On Debian 12 Bookwork we needed to run the following commands:

pip install reportlab --upgrade --break-system-packages
apt install python3-cairo
pip install rlPyCairo --upgrade --break-system-packages
pip install cairocffi --upgrade --break-system-packages

This is not the recommended approach, since you should use a python venv.

Avatar
Discard
0
Avatar
odoo
Best Answer

I used both solutions from @Trey and @Manjima, one of them works in Odoo 13 and solved the problem. The solution was only applied after rebooting the entire server system.

Hope it helps!

Avatar
Discard