[FIX] mail: issue: After receiving inbox messages from external emails, when clicking on reply button the external email is listed in the form. However when clicking on send the external email is removed! and instead of email what we get is an internal note.
bzr revid: chm@openerp.com-20130403094046-rexsmdz6tn1zc2hk
This commit is contained in:
@@ -985,7 +985,8 @@ class mail_thread(osv.AbstractModel):
|
||||
partner_ids.add(partner_id)
|
||||
else:
|
||||
pass # we do not manage anything else
|
||||
if parent_id and model == 'mail.thread':
|
||||
|
||||
if parent_id and not model:
|
||||
parent_message = mail_message.browse(cr, uid, parent_id, context=context)
|
||||
partner_ids |= set([partner.id for partner in parent_message.partner_ids])
|
||||
if parent_message.author_id:
|
||||
|
||||
Reference in New Issue
Block a user