Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
25711 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
5337
2
mag 15
7799
0
mar 25
1889
2
mar 23
3753
1
nov 18
2653