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.
Thanks,
Omkar
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Thanks,
Omkar
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...