Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r fc5080f35a0b trytond/model/modelsql.py
- --- a/trytond/model/modelsql.py Sat Dec 20 19:24:42 2014 +0100
- +++ b/trytond/model/modelsql.py Thu Jan 08 12:11:53 2015 +0100
- @@ -1036,6 +1036,9 @@
- main_table.write_date,
- main_table.create_date).as_('_datetime'))
- columns.append(Column(main_table, '__id'))
- + order_by.append(Desc(Coalesce(
- + main_table.write_date,
- + main_table.create_date).as_('_datetime')))
- if not query:
- columns += [f.sql_column(main_table).as_(n)
- for n, f in cls._fields.iteritems()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement