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

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/6a2f9bae-b318-e242-d938-60ff78f9a8ba%40koolpi.com.

Reply via email to