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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
3919
查看
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
3月 15
|
4598 | ||
|
1
3月 15
|
5264 | ||
|
1
3月 15
|
4932 | ||
|
4
3月 15
|
15522 | ||
|
2
6月 25
|
2046 |
No one??