Community mailing list archives

community@mail.odoo.com

Re: Need Help on 'Tree view' order

by
Haojun Zou
- 03/09/2015 06:53:12
You need two make objects if you want two tree view. Each class can only has one _order

On Mon, Mar 9, 2015 at 11:48 AM, Cy Snake <cysnake4713@gmail.com> wrote:
Hello guys,

I defined a model like this:

XXXX:
   _order = 'create_date desc'


then, This model have two list views, one need order by 'create_date
desc' , but another one need order by 'p_date desc' , is ODOO. V8
surpport this kind of behavior?

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe