Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3856 Visualizações

I found somewhere that if we wish to have sum of a particular field then we can write this kind of expression: [[ reduce(lambda x, obj:x obj.amount_total, invoice,0) ]]. Does any one knows if its correct or the correct expression. In my case i want sum of amount_total in invoice not lines the only invoice object. Please help.

Avatar
Cancelar
Autor

No one??

Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
4554
1
mar. 15
5192
1
mar. 15
4900
4
mar. 15
15445
2
jun. 25
1956