From 6031c0954b95e63ebf95d8515f18000fb9cd689e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 26 Oct 2012 11:59:34 +0200 Subject: [PATCH] [REM] mail_followers: removed WIP about email quote. bzr revid: tde@openerp.com-20121026095934-4qumgad7dun75ct8 --- addons/mail/mail_followers.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/addons/mail/mail_followers.py b/addons/mail/mail_followers.py index 5b024ee9b4d..07ccfeec9cc 100644 --- a/addons/mail/mail_followers.py +++ b/addons/mail/mail_followers.py @@ -142,18 +142,8 @@ class mail_notification(osv.Model): if not notify_partner_ids: return True - mail_mail = self.pool.get('mail.mail') - - # TMP about thread formation - if msg.parent_id.id: - # 1. fetch all messages that will form the thread as SUPERUSER, filtering will be done after - messages = self.pool.get('mail.message').message_read(cr, SUPERUSER_ID, None, domain=['|', ('id', 'in', [msg.id, msg.parent_id.id]), ('parent_id', '=', msg.parent_id.id)], context=context, limit=5, thread_level=1) - for message in messages: - print message['body'], message['id'], message['parent_id'] - - # END TMP - # add signature + mail_mail = self.pool.get('mail.mail') body_html = msg.body signature = msg.author_id and msg.author_id.user_ids[0].signature or '' if signature: