Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4403 Vues

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
Ignorer
Meilleure réponse

Try the below code:-

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

 

Avatar
Ignorer
Auteur Meilleure réponse

That worked perfectly! thank you very much Prakash!

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
mars 15
3675
3
juil. 24
8455
2
déc. 17
3163
0
avr. 17
3162
1
avr. 17
4549