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
この質問にフラグが付けられました
3886
ビュー
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
1
3月 15
|
4578 | ||
|
1
3月 15
|
5240 | ||
|
1
3月 15
|
4920 | ||
|
4
3月 15
|
15489 | ||
|
2
6月 25
|
1994 |
No one??