跳至內容
選單
此問題已被標幟
1 回覆
25557 瀏覽次數

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?

頭像
捨棄
最佳答案

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
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 18
5237
2
5月 15
7711
0
3月 25
1778
2
3月 23
3623
1
11月 18
2585