Skip to Content
Menu
This question has been flagged
2 Replies
4416 Rodiniai

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')]]

 

Portretas
Atmesti
Best Answer

Try the below code:-

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

 

Portretas
Atmesti
Autorius Best Answer

That worked perfectly! thank you very much Prakash!

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
3676
3
liep. 24
8463
2
gruod. 17
3166
0
bal. 17
3172
1
bal. 17
4552