Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
25451 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 18
5187
2
maj 15
7653
0
mar 25
1707
2
mar 23
3560
1
lis 18
2533