From 445b690488e3aeb7ddf87c3692008b033c54496c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 4 Jun 2012 12:24:35 +0200 Subject: [PATCH] [IMP] mail_thread: message_process now automatically set the thread as unread. bzr revid: tde@openerp.com-20120604102435-hcdo3i6oqdhu6j8j --- addons/mail/mail_thread.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 3deb7f25769..d52804308a3 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -535,6 +535,8 @@ class mail_thread(osv.osv): res_id = create_record(msg) #To forward the email to other followers self.message_forward(cr, uid, model, [res_id], msg_txt, context=context) + # Set as Unread + self.message_mark_as_unreadcr, uid, [res_id], context=context) return res_id def message_new(self, cr, uid, msg_dict, custom_values=None, context=None):