Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8639 Visualizzazioni

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.


Avatar
Abbandona

More details please. How do you get the groups?

Autore Risposta migliore

By context which I wrote above.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
gen 24
15388
0
set 21
3386
0
feb 21
2680
3
lug 25
9373
1
mag 25
1570