Odoo Help


How to change the font color in RML header?

Paul Ridley
on 3/31/13, 1:04 PM 5,212 views

I am tring to change the font color in the V7.0 header but am facing the following problem -I am able to change the font to white (my color of choice) within a para style tag by using the standard

> <font color="white">

tag. See example

> <para style="main_header"><font
> color="white">[[
> display_address(company.partner_id) or
> '' ]]</font></para>"

-What I cannot do is change the font to white for text within a drawString tag. If I add a font tag within the drawString tag then the whole element is not shown.

Does anyone know how to change the font color within a drawString tag? Or maybe a competely different approach is better?


odoo.ma by IBS Group

--odoo.ma by IBS Group--
| 4 6 8
Tétouan, Morocco
--odoo.ma by IBS Group--

For more informations about IBS, please visit our website at www.ibs-na.com.

For a specific questions, collaboration or help, please send us an email to support@ibs-na.com

odoo.ma by IBS Group
On 3/31/13, 10:29 PM

Put this :

<fill color="white"/>

Before the drawString tag.

Thanks Karim, that was just what I needed

Pawri Group, Paul Ridley
on 4/1/13, 6:46 AM

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.


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

1 follower(s)


Asked: 3/31/13, 1:04 PM
Seen: 5212 times
Last updated: 3/16/15, 8:10 AM