diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2012-08-17 09:02:18 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2012-08-17 09:02:18 +0200 |
| commit | cb944d66ea941a3f80025f56d576677fa9d1c59c (patch) | |
| tree | 870b3b829c7aa8846c28b87ab960b46303474e27 /addons/plugin/plugin_handler.py | |
| parent | 960e4ba5412ae0646667803b4b97de9a2e10039a (diff) | |
[IMP] mail message
bzr revid: fp@tinyerp.com-20120817070218-rp1ssuhwnf8raitf
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) |
