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

Hi everyone,


I have an issue with my OpenERP 7. When I group_by a view and I click on a column name to order by, it will not order by the result of the group by, but by the view without group by.


For exemple:

I have customerA with 3 sale orders: 1 - 5000 euros

                                                                 2 - 5000 euros

                                                                 3 - 5000 euros

CustomerB with 2 sale orders:           1 - 6000 euros

                                                                 2 - 1000 euros


When I group by customer I have the view below:

Customer A - 15000 euros

Customer B - 7000 euros


And if I click on the column name to order by desc, I will have customer B before customer A, only because customer B has the highest sale_order ( 6000 euros) even it doesn't have the higher sum of all sales order ( only 7000 euros agains 15000 euros).


Is it possible to change it?


Many thanks,


Selverine

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

A small up, as I am still block on this problem :-(.


Thank you a lot,


Selverine

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

Hi Selverine,

Found any solution after these years?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ม.ค. 25
2924
Select multiple elements with XPath แก้ไขแล้ว
5
ส.ค. 24
47363
0
ก.ย. 25
2006
2
เม.ย. 24
2948
3
มิ.ย. 23
6625