Odoo Help

0

Rml report if statement

By
omkar
on 10/28/14, 8:59 AM 1,305 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.

Thanks,

Omkar

 

 

0

Bole

--Bole--
2405
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

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

Bole
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.

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

1 follower(s)

Stats

Asked: 10/28/14, 8:59 AM
Seen: 1305 times
Last updated: 3/16/15, 8:10 AM