diff options
Diffstat (limited to 'addons/plugin/plugin_handler.py')
| -rw-r--r-- | addons/plugin/plugin_handler.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py index e497f902dc2..aaf54d1ac2b 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -108,8 +108,7 @@ class plugin_handler(osv.osv_memory): else: if model == 'res.partner': model_obj = self.pool.get('mail.thread') - res = self.pool.get(model).browse(cr, uid, [res_id]) - model_obj.message_append_dict(cr, uid, res, msg) + model_obj.message_append_note(cr, uid, [res_id], body=msg) notify = "Mail succefully pushed" url = self._make_url(cr, uid, res_id, model) |
