Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
15633 Lượt xem

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,



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 24
2453
3
thg 5 22
10054
1
thg 7 21
6835
1
thg 2 21
3740
1
thg 11 19
4925