Skip to Content
मेन्यू
This question has been flagged
2 Replies
4412 Views

How can I merge two filters in an RML report? 

This one: [[repeatIn(filter(lambda l: l.x_printable_choice==0 ,o.invoice_line), 'l')]]

and the one above: [[repeatIn(filter(lambda l: l.name.find('>')==-1, o.invoice_line), 'l')]]

 

Avatar
Discard
Best Answer

Try the below code:-

[[repeatIn(filter(lambda l: l.name.find('>')==-1 and  l.x_printable_choice==0, o.invoice_line), 'l')]]

 

Avatar
Discard
Author Best Answer

That worked perfectly! thank you very much Prakash!

Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 15
3676
3
जुल॰ 24
8459
2
दिस॰ 17
3164
0
अप्रैल 17
3163
1
अप्रैल 17
4551