Odoo Help

Welcome!

This community 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.

0

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

By
Arjun Khode
on 4/3/15, 1:51 AM 1,023 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?

3

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
3883
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 4/3/15, 2:04 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/3/15, 1:51 AM
Seen: 1023 times
Last updated: 5/15/15, 10:46 AM