Odoo Help


How to make bold, italic to rml report?

willie ho
on 3/25/15, 3:27 AM 2,251 views

I can add underline by using the tag <u> </u>

Then I try added <b> </b> and <i> </I> to my rml report but it does not work.

What should I put to make bold and italic ?

On 3/25/15, 3:37 AM

Hi wille,

use this for in your rml file:

<paraStyle name="terp_header" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>

<td><para style="terp_header"><b>Taxes</b></para></td>

<d><para style="terp_header"><i>Amount</i></para></td>

tested the code and it does not work

willie ho
on 3/25/15, 3:54 AM

Hi Wille,

To manage bold and italic into RML you need to use different font like below.

For Bold : 

<paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>

For Italic : 

<paraStyle name="terp_default_Italic" rightIndent="0.0" leftIndent="20.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>

when you use style="terp_default_Centre_9_Bold" then it will give you bold font and when you use style="terp_default_Italic" then it will give you italic font.

I hope it will useful for you.

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/25/15, 3:27 AM
Seen: 2251 times
Last updated: 3/27/15, 3:05 AM