From b62858e83e21bdd80aaf38b6d1149e6c66dc54e1 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 17 Aug 2012 12:03:02 +0200 Subject: [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 --- addons/plugin/plugin_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/plugin/plugin_handler.py') 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) -- cgit v1.2.3