Skip to Content
Menu
This question has been flagged

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
Discard
Author

No one??

Related Posts Replies Views Activity
1
Mar 15
4638
1
Mar 15
5357
1
Mar 15
4970
4
Mar 15
15579
2
Jun 25
2142