Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
26416 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
5788
2
mag 15
8204
0
mar 25
2376
2
mar 23
4403
1
nov 18
2896