[FIX] mail: fix the notify followers

bzr revid: chm@openerp.com-20121018085424-hfspxqcpo2p5ya6t
This commit is contained in:
Christophe Matthieu 2012-10-18 10:54:24 +02:00
parent ec88647be0
commit 68d1041d64
2 changed files with 2 additions and 4 deletions

View File

@ -581,9 +581,7 @@ class mail_message(osv.Model):
Call mail_notification.notify to manage the email sending
"""
message = self.browse(cr, uid, newid, context=context)
if not message:
self._notify_followers(cr, uid, newid, message, context=context)
self._notify_followers(cr, uid, newid, message, context=context)
# add myself if I wrote on my wall,
# unless remove myself author

View File

@ -59,7 +59,7 @@
<field name="partner_ids"/>
<filter string="Unread"
name="unread_message" help="Show unread message"
domain="[('read', '=', 'unread')]"/>
domain="[('read', '=', False)]"/>
<filter string="Comments"
name="comments" help="Comments"
domain="[('type', '=', 'comment')]"/>