Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: how can we sort tree from xml

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

2014-09-22 11:51 GMT+04:00 Olivier Dony <odo@openerp.com>:
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.: