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

Hello Expert 

I am trying to display the sum of computed fields in the Tree Menu

On the vendors Form, I am trying that if Group by is made then it should sum the Credit and Debit balance of the vendor and display it.

In the tree Menu i have added the Sum in the XML view but it is not working.

Kindly Suggest what to do.

Regards,



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Please see the answer written here : \https://www.odoo.com/forum/help-1/question/how-to-show-sum-total-for-a-compute-field-in-list-view-group-by-153745

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The computed fields need to be defined as Stored fields for the sum to work. 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Dreamy,

I think we cant do the sum to the group by of the compute function, may be you can solve this by give a new field and write the value to this field and you can use this field for sum and group by.

By Python Brains

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 24
2450
3
พ.ค. 22
10048
1
ก.ค. 21
6829
1
ก.พ. 21
3738
1
พ.ย. 19
4925