[MERGE] forward port of branch 7.0 up to f406847

This commit is contained in:
Denis Ledoux
2015-01-15 11:49:28 +01:00
13 changed files with 165 additions and 63 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class plugin_handler(osv.osv_memory):
if not email_from:
author_id = False
else:
authors = mail_thread_obj.message_find_partner_from_emails(cr, uid, [res_id], [email_from])
authors = mail_thread_obj.message_partner_info_from_emails(cr, uid, [res_id], [email_from])
author_id = authors and authors[0].get('partner_id') or False
model_obj.message_post(cr, uid, [res_id],