跳至内容
菜单
此问题已终结
2 回复
8584 查看

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.


形象
丢弃

More details please. How do you get the groups?

编写者 最佳答案

By context which I wrote above.

形象
丢弃
相关帖文 回复 查看 活动
2
1月 24
15268
0
9月 21
3386
0
2月 21
2680
3
7月 25
9176
1
5月 25
1414