Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

No one??

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
4965
1
thg 3 15
5760
1
thg 3 15
5169
4
thg 3 15
15956
2
thg 6 25
2703