Help

4

How to install new font on odoo.sh?

Avatar
Benjamin

Hi

How can I install a new font on odoo.sh? In order to install the font, I need to deploy the font in the folder /usr/share/fonts but I don't know how to do it with odoo.sh 

Thanks in advance for any kind of help.


Avatar
Discard
1 Answer
2
Best Answer

Hi Benjamin,

As far as I am aware you cannot get a font into /usr/share/font on Odoo.sh. You can automatically install Python packages with a requirements.txt file and you can use imports, but not install fonts.
You could work around this by including the font within your Odoo module though. If you import and use the font from within your module it will be used as Odoo.sh downloads it from Github the moment it builds a new instance.

Regards,
Yenthe

Avatar
Discard