Skip to Content
Menú
This question has been flagged
2 Respostes
4393 Vistes

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
Descartar
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
Descartar
Autor Best Answer

That worked perfectly! thank you very much Prakash!

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 15
3675
3
de jul. 24
8451
2
de des. 17
3163
0
d’abr. 17
3159
1
d’abr. 17
4547