Odoo Help


Sum attribute on xml - Odoo 8

Alejandro Perez Cosio
on 4/13/15, 3:03 PM 1,363 views

Dear All, 

I would want to sum a column in a tree view but only the rows with a specific 'status':
Is there a way to use domains to select which lines will be summed?

Something like:  

<field name="amount" attrs="{'sum': [('status','=','ontime')]}"/>

Best regards

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/13/15, 3:03 PM
Seen: 1363 times
Last updated: 4/14/15, 7:55 AM