Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4442 Tampilan

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
Buang
Jawaban Terbai

Try the below code:-

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

 

Avatar
Buang
Penulis Jawaban Terbai

That worked perfectly! thank you very much Prakash!

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 15
3681
3
Jul 24
8473
2
Des 17
3169
0
Apr 17
3186
1
Apr 17
4562