Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/7/13, 8:41 AM|
|Seen: 855 times|
|Last updated: 3/16/15, 8:10 AM|