Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
25556 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jul. 18
5237
2
mai. 15
7711
0
mar. 25
1778
2
mar. 23
3623
1
nov. 18
2585