Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
25570 มุมมอง

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
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 18
5257
How to get total of a list? แก้ไขแล้ว
2
พ.ค. 15
7718
0
มี.ค. 25
1787
2
มี.ค. 23
3628
1
พ.ย. 18
2587