Odoo Help


Rml report if statement

on 10/28/14, 8:59 AM 1,721 views

Hi Friends,

I Struck with the if statement in rml report.

I had a check box, if the user click on the check box , in the rml report the inner table should display the lines other wise that table should not be visible.








| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 10/30/14, 8:28 AM

In rml you can use any python code inside double brackets... like:  [[ code comes here ]]
so you can define something like:

<para style=something> [[ check_box and display_some_vals or removeParentNode(para) ]] </para>

syntax: check_box and display_some_vals or remove parentnode is equvivalent to :

if check_box(is checked) then display some vals or remove para node.. 

hope it helps.. 
if you still need some help please post your rml line defining particular line...

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: 10/28/14, 8:59 AM
Seen: 1721 times
Last updated: 3/16/15, 8:10 AM