跳至內容
選單
此問題已被標幟

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.

頭像
捨棄
作者

No one??

相關帖文 回覆 瀏覽次數 活動
1
3月 15
4599
1
3月 15
5268
1
3月 15
4934
4
3月 15
15532
2
6月 25
2062