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

Is there a chance to sort groups by condition?

My problem:

<xpath expr="//filter[@string='Type']" position="after">                    
<filter string="Days" name="days_group" domain="[]" context="{'group_by':'date:day'}"/>
<filter string="Months" name="days_group" domain="[]" context="{'group_by':'date:month'}"/>
</xpath>

Grouped records are in descending order which is ok for me but i want to sort groups in the same way.


Ảnh đại diện
Huỷ bỏ

More details please. How do you get the groups?

Tác giả Câu trả lời hay nhất

By context which I wrote above.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 24
15277
0
thg 9 21
3386
0
thg 2 21
2680
3
thg 7 25
9185
1
thg 5 25
1424