summaryrefslogtreecommitdiff
path: root/addons/plugin/plugin_handler.py
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-08-17 12:03:02 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-08-17 12:03:02 +0200
commitb62858e83e21bdd80aaf38b6d1149e6c66dc54e1 (patch)
tree55432bd6f248c1640302f04f45b3347ca3f86bde /addons/plugin/plugin_handler.py
parentcb944d66ea941a3f80025f56d576677fa9d1c59c (diff)
[IMP] Merging different ways of posting a message:
message_append_note message_append_dict message_append --> merged all to message_post bzr revid: fp@tinyerp.com-20120817100302-bqsqv23ogrchslew
Diffstat (limited to 'addons/plugin/plugin_handler.py')
-rw-r--r--addons/plugin/plugin_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py
index aaf54d1ac2b..1bf3645d646 100644
--- a/addons/plugin/plugin_handler.py
+++ b/addons/plugin/plugin_handler.py
@@ -108,7 +108,7 @@ class plugin_handler(osv.osv_memory):
else:
if model == 'res.partner':
model_obj = self.pool.get('mail.thread')
- model_obj.message_append_note(cr, uid, [res_id], body=msg)
+ model_obj.message_post(cr, uid, [res_id], body=msg)
notify = "Mail succefully pushed"
url = self._make_url(cr, uid, res_id, model)