Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
4402 Visualizações

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
Cancelar
Melhor resposta

Try the below code:-

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

 

Avatar
Cancelar
Autor Melhor resposta

That worked perfectly! thank you very much Prakash!

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
3675
3
jul. 24
8455
2
dez. 17
3163
0
abr. 17
3162
1
abr. 17
4549