Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.

Awatar
Odrzuć
Autor

No one??

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
4530
1
mar 15
5172
1
mar 15
4874
4
mar 15
15428
2
cze 25
1838