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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
4395
Представления
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Регистрация| Related Posts | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
1
мар. 15
|
5057 | ||
|
|
1
мар. 15
|
5863 | ||
|
|
1
мар. 15
|
5245 | ||
|
|
4
мар. 15
|
16105 | ||
|
|
2
июн. 25
|
2897 |
No one??