From 9bbb115af22662c125ceb9b613c40dec27482ff4 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Tue, 6 Jun 2017 16:21:22 +0200 Subject: [PATCH] [IMP] mail: Modify comment reference to unexisting model --- addons/mail/models/mail_thread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index c672cab2835..555a23be2cf 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -2172,8 +2172,8 @@ class MailThread(models.AbstractModel): :param new_res_id : the new res_id of the mail.message :param new_model : the name of the new model of the mail.message - Example : my_lead.message_change_thread(my_project_issue) - will transfer the context of the thread of my_lead to my_project_issue + Example : my_lead.message_change_thread(my_project_task) + will transfer the context of the thread of my_lead to my_project_task """ self.ensure_one() # get the subtype of the comment Message