This question has been flagged
2 Replies
5314 Views

When saving a User-Defined filter in Odoo 10, the filter doesn't remember the sort order i have defined.

I've tried to edit the filter under Technical Settings... this does not work either.

This did work in Odoo 9. 

Example:
In Odoo 9 i set "Sort" to: ["-create_date"]
This would sort products with the newest products appearing first.

In Odoo 10 this seems to be ignored.

Avatar
Discard
Author Best Answer

It turns out Odoo v10 doesn’t really support sorting on filters. It looks like it does in the views, but the python code ignores it. 

Avatar
Discard
Best Answer

This was a bug and got fixed already, at least in v11. Not sure about v10 though.

See this issue: https://github.com/odoo/odoo/issues/28446

Avatar
Discard