From 47a6a6f965c55d0e2d6975a4d7f46da2c64e03b6 Mon Sep 17 00:00:00 2001 From: Carlos Almeida Date: Sat, 16 Jan 2016 16:06:07 -0200 Subject: [PATCH] Update new function name --- web_fetchmail_no_followers/model/mail_thread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_fetchmail_no_followers/model/mail_thread.py b/web_fetchmail_no_followers/model/mail_thread.py index b65ab6bd..f668b01a 100644 --- a/web_fetchmail_no_followers/model/mail_thread.py +++ b/web_fetchmail_no_followers/model/mail_thread.py @@ -29,7 +29,7 @@ message_post_super = mail_thread.message_post @api.cr_uid_ids_context -def MailNoFollowersMessagePost(self, cr, uid, thread_id, body='', subject=None, +def MailNoFollowersMessageFetch(self, cr, uid, thread_id, body='', subject=None, type='notification', subtype=None, parent_id=False, attachments=None, context=None, content_subtype='html', **kwargs): @@ -53,4 +53,4 @@ class MailNoFollowers(models.Model): _name = 'mail.thread' def __init__(self, *arg, **kwargs): - mail_thread.message_post = MailNoFollowersMessagePost + mail_thread.message_post = MailNoFollowersMessageFetch