summaryrefslogtreecommitdiff
path: root/addons/mail/mail_thread.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-08-22 19:16:59 +0200
committerOlivier Dony <odo@openerp.com>2011-08-22 19:16:59 +0200
commit8f9f45ea948d1ffecb79601e860d522fc6686c2d (patch)
treea789d72a67cef289e770323aaf45c158579ecc6c /addons/mail/mail_thread.py
parent50507512cbaf6d0119a29943c9ca85deb4057404 (diff)
[IMP] all: next pass of review/renaming for new mail API
bzr revid: odo@openerp.com-20110822171659-zxho36a6n628i10q
Diffstat (limited to 'addons/mail/mail_thread.py')
-rw-r--r--addons/mail/mail_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py
index 22f21677379..a1ef9de9627 100644
--- a/addons/mail/mail_thread.py
+++ b/addons/mail/mail_thread.py
@@ -111,7 +111,7 @@ class mail_thread(osv.osv):
if custom_values and isinstance(custom_values, dict):
data.update(custom_values)
res_id = model_pool.create(cr, uid, data, context=context)
- self.append_mail(cr, uid, ids, msg_dict, context=context)
+ self.append_mail(cr, uid, [res_id], msg_dict, context=context)
return res_id
def message_update(self, cr, uid, ids, msg_dict, vals={}, default_act=None, context=None):