summaryrefslogtreecommitdiff
path: root/addons/mail/mail_thread_view.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-11-05 13:59:32 +0100
committerChristophe Matthieu <chm@openerp.com>2012-11-05 13:59:32 +0100
commit662b94aa1ef7c2f2e5a600b63d1adcbcf5d5cb16 (patch)
tree29bc973b640c55efc28315374a70cbb9dd4b8635 /addons/mail/mail_thread_view.xml
parentf4bf65f72339ce04471e679bdb8f7f902a03a7d6 (diff)
[IMP] mail: Message 'Done' box : domain become default search
bzr revid: chm@openerp.com-20121105125932-1s82q388rbrb7ulg
Diffstat (limited to 'addons/mail/mail_thread_view.xml')
-rw-r--r--addons/mail/mail_thread_view.xml6
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="&quot;{
- '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', }&quot;"/>
</record>