[FIX] mail: fix the notify followers
bzr revid: chm@openerp.com-20121018085424-hfspxqcpo2p5ya6t
This commit is contained in:
parent
ec88647be0
commit
68d1041d64
|
@ -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
|
||||
|
|
|
@ -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')]"/>
|
||||
|
|
Loading…
Reference in New Issue