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