Skip to Content
मेन्यू
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
मार्च 15
4534
1
मार्च 15
5181
1
मार्च 15
4886
4
मार्च 15
15431
2
जून 25
1911