Skip to content
Snippets Groups Projects
Commit d530905b authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

[IMP] Add default filter on groups

bzr revid: fp@tinyerp.com-20121115102223-i2jgjkgqf9pxez08
parent bd494ad7
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ class mail_group(osv.Model):
params = {
'search_view_id': search_ref and search_ref[1] or False,
'domain': [('model', '=', 'mail.group'), ('res_id', '=', mail_group_id)],
'context': {'default_model': 'mail.group', 'default_res_id': mail_group_id},
'context': {'default_model': 'mail.group', 'default_res_id': mail_group_id, 'search_default_message_unread': True},
'res_model': 'mail.message',
'thread_level': 1,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment