Community: Framework mailing list archives

Re: how can we sort tree from xml

Maxim Litnitskiy
- 09/22/2014 07:28:52

2014-09-22 11:51 GMT+04:00 Olivier Dony <>:
Yes, as of Odoo 8 you can simply add a `default_order` attribute in the view definition, to override the default ordering of the model. The syntax for this attribute is the same as the `_order` attribute of your model, e.g.: