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
4664
1
Mar 15
5378
1
Mar 15
4987
4
Mar 15
15616
2
Jun 25
2199