[FIX] mail.message: default order by `id` should work on expandable node as well - but this still looks ugly

bzr revid: odo@openerp.com-20120905234919-ty9eojpgyib3ohwd
This commit is contained in:
Olivier Dony 2012-09-06 01:49:19 +02:00
parent db3336c092
commit 20c8d13822
1 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,8 @@ class mail_message(osv.Model):
'type': 'expandable',
'domain': [('id', '<=', msg.id)] + domain,
'context': context,
'thread_level': thread_level # should be improve accodting to level of records
'thread_level': thread_level, # should be improve accodting to level of records
'id': -1,
})
break