Odoo Help

1

Why blockAlignment doesn't work in rml stylesheet definition ?

By
PY
on 3/6/14, 4:40 AM 1,131 views

Hi,

This tag seems not to work. Here's how I use it :

<blockTableStyle id="default">
  <lineStyle kind="GRID" colorName="grey" thickness="0.1"/>
  <blockValign value="MIDDLE"/>
  <blockAlign value="RIGHT"/>
</blockTableStyle>

Thanks !

1
PY
On 3/6/14, 4:55 AM

Ok, I'm such a stupid guy... the answer is here :

One other thing to be aware of is that if you use a para inside a table, it will ignore the text attributes you have used for that table and instead use the attributes for paragraphs. This can be a plus, (since it allows you to use already defined paragraph styles) but can take you by surprise if weren't expecting it.

From :

http://www.reportlab.com/docs/rml2pdf-userguide.pdf

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

0 follower(s)

Stats

Asked: 3/6/14, 4:40 AM
Seen: 1131 times
Last updated: 3/16/15, 8:10 AM