Odoo Help


How to align a blockTable in rml reports ?

on 3/11/14, 6:42 AM 3,047 views

Hi !

Currently I'm toying with the rml language, and so far, the only way to align a blockTable when I use colWidths, (colWidths resize the columns, and let the table centred in the middle of the page...) is by add an empty column (left for right align, for example).

Do anyone know a better way to do this ?



René Schuster

--René Schuster--
| 5 5 8
Weinheim, Germany
--René Schuster--

Challenge Everything!

René Schuster
On 3/11/14, 7:08 AM

Simply use the alignment attribute in your blockTable or its blockTableStyle.

<blockTable alignment="RIGHT">

<blockTableStyle id="aligned_table">


I don't want to align the content, but the table itself.

on 3/11/14, 7:38 AM

As far as I can see, the attribute for content alignment is <blockAlignment>.

<alignment> should align the floatable.

As work around try to embed your table in an aligned paragraph, or sth.

René Schuster
on 3/11/14, 7:49 AM

Yeah, it should, but it doesn't :/ Either with your both examples, it doesn't work with me. Ok, I will try this.

on 3/11/14, 7:50 AM

Nope, nothing's working. A para tag display table like plain text. And other tags display nothing at all. I think I'll have to stay with empty columns.

on 3/11/14, 8:10 AM

Yes, that would have been my next suggestion :/


René Schuster
on 3/11/14, 8:13 AM

Np, thanks anyway :)

on 3/11/14, 8:32 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

0 follower(s)


Asked: 3/11/14, 6:42 AM
Seen: 3047 times
Last updated: 3/16/15, 8:10 AM