Hi,
El 24/11/16 a les 07:16, Vincent Bastos ha escrit:
> Is there any reason why ordering by create_date wouldn't work?
>
I don't this so.
> Can't I use the following domain - 'create_date', 'DESC'?
Why not?
For me it's working:
>>> from proteus import Model, config
>>> config.set_trytond()
>>> View = Model.get('ir.ui.view')
>>> view, = View.find([], order=[('create_date', 'DESC')], limit=1)
>>>
view.id
708
>>> view, = View.find([], limit=1)
>>>
view.id
4
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk