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
لقد تم الإبلاغ عن هذا السؤال
3852
أدوات العرض
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
مارس 15
|
4545 | ||
|
1
مارس 15
|
5188 | ||
|
1
مارس 15
|
4900 | ||
|
4
مارس 15
|
15442 | ||
|
2
يونيو 25
|
1947 |
No one??