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
4598
1
thg 3 15
5264
1
thg 3 15
4932
4
thg 3 15
15522
2
thg 6 25
2046