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.
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.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/28/14, 8:59 AM|
|Seen: 1551 times|
|Last updated: 3/16/15, 8:10 AM|