Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
25469 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 18
5194
2
mag 15
7668
0
mar 25
1724
2
mar 23
3570
1
nov 18
2541