diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-11-05 13:59:32 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-11-05 13:59:32 +0100 |
| commit | 662b94aa1ef7c2f2e5a600b63d1adcbcf5d5cb16 (patch) | |
| tree | 29bc973b640c55efc28315374a70cbb9dd4b8635 | |
| parent | f4bf65f72339ce04471e679bdb8f7f902a03a7d6 (diff) | |
[IMP] mail: Message 'Done' box : domain become default search
bzr revid: chm@openerp.com-20121105125932-1s82q388rbrb7ulg
| -rw-r--r-- | addons/mail/mail_thread_view.xml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/mail/mail_thread_view.xml b/addons/mail/mail_thread_view.xml index 21746212e3c..cd671d0954c 100644 --- a/addons/mail/mail_thread_view.xml +++ b/addons/mail/mail_thread_view.xml @@ -45,10 +45,8 @@ <field name="name">Done</field> <field name="tag">mail.wall</field> <field name="params" eval=""{ - 'domain': [ - ('notification_ids.partner_id.user_ids', 'in', [uid]), - ('to_read', '=', False)], - 'context': {'default_model': 'res.users', 'default_res_id': uid}, + 'domain': [('notification_ids.partner_id.user_ids', 'in', [uid])], + 'context': {'default_model': 'res.users', 'default_res_id': uid, 'search_default_message_read': True}, 'view_mailbox': True, 'read_action': 'unread', }""/> </record> |
