Community: Framework mailing list archives

Re: how can we sort tree from xml

Olivier Dony (odo)
- 09/22/2014 08:53:07
On 09/22/2014 02:43 PM, Maxim Litnitskiy wrote:
> 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.:
> Who can add this to
> or
> ???

You can :-)

There's actually an "Edit in GitHub" link at the bottom of the navigation in 
your first reference. It will lead you to the source code for that 
documentation, on which you can then propose a patch using GitHub pull requests: