Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3929 Переглядів

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??

Related Posts Відповіді Переглядів Дія
1
бер. 15
4603
1
бер. 15
5287
1
бер. 15
4937
4
бер. 15
15538
2
черв. 25
2070