Odoo Help

Welcome!

This community 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.

2

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

By
Amine
on 3/30/15, 5:28 PM 2,023 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

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.

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


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

Salam,

Kindly check this question, it may helps

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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