Odoo Help

2

How can I use custom TTF fonts with Odoo 8 Qweb reports ?

By
Amine
on 3/30/15, 5:28 PM 2,833 views

Salamu Alaikum,

I want to use some fonts inside my Qweb reports, installed on my Debian/Ubuntu Odoo8 server.

The only documentation available online concerns deprecated RML reports, But i need Qweb reports with my own TTF fonts.

Thank you in advance

1
Ahmed M.Elmubarak
On 9/15/15, 5:10 AM

Salam,

Kindly check this question, it may helps

0

Howto:

Install the truetype font under /usr/share/fonts & restart server

Goto website and choose html editor

Choose style from dropdown and add your font under body

body {

color: #000 !important;

word-wrap: break-word;

font-family: Open Sans;

}

Save it and generate the qweb report.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 3/30/15, 5:28 PM
Seen: 2833 times
Last updated: 10/5/15, 2:16 PM