Odoo Help


How to display 'total' under a column containing numeric values in tree view

Arjun Khode
on 4/3/15, 1:51 AM 1,784 views

Like in sales quotations, at the bottom of 'total' column, there appears a vertical total like '0.0' in bold. How to bring that in my tree view?


You need to provide sum attribute in your field definition at TREE view.

<field name="amount_total" sum="Total Tax Included"/> 

sample code available in https://github.com/odoo/odoo/blob/8.0/addons/sale/sale_view.xml#L37-L52

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/3/15, 1:51 AM
Seen: 1784 times
Last updated: 5/15/15, 10:46 AM