Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
26060 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
5537
2
mag 15
8025
0
mar 25
2195
2
mar 23
4110
1
nov 18
2807