Odoo Help

0

Sort groups asc/desc

By
John Doe
on 9/23/16, 9:45 AM 428 views

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?

Artem
on 9/23/16, 10:51 AM
0
John Doe
On 9/29/16, 5:53 AM

By context which I wrote above.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/23/16, 9:45 AM
Seen: 428 times
Last updated: 9/29/16, 5:53 AM