Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM
|
e-Commerce
|
Accounting
|
Inventory
|
PoS
|
Project management
|
MRP
|
etc.
How to vertically center texts in blocktable cells in rml reports?
I want to vertically center the texts in blocktable cells. Currently the text is showing as: drive.google.com/file/d/0B8C4w9Dg_5bEX0JVMEVFbEg4Ukk/view?usp=sharing
I have tried different ways but nothing works.
Well I was also hoping that the issue would solved by using <blockValign value="CENTER"/> , but unfortunately this didn't help me. So from the rml guide I found another solution to apply bottom padding to the cell data by using <blockBottomPadding length="(val)"/> . which then works perfectly as I wanted.
Hi,
You need to give the style of your block as like below.
<blockTableStyle id="Table_Header">
<blockAlignment value="LEFT"/>
<blockValign value="CENTER"/>
</blockTableStyle>
when you apply the above style to any one blocktable then data will be in vertically center.
I hope you will get perfect output.
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 5/7/15, 4:21 AM |
Seen: 1262 times |
Last updated: 5/8/15, 1:55 AM |