diff options
| author | DBR (OpenERP) <dbr@tinyerp.com> | 2013-05-27 13:04:07 +0530 |
|---|---|---|
| committer | DBR (OpenERP) <dbr@tinyerp.com> | 2013-05-27 13:04:07 +0530 |
| commit | 470be1459ad176f447383e16734db82812f1b439 (patch) | |
| tree | 2ac84fb67d7a74ed64d98e8bf7c3d3fc82cd1949 /addons/plugin/plugin_handler.py | |
| parent | 6cc1b4ee83b0194f5d2a02bddebe681b26dac9da (diff) | |
| parent | 0dc0d9f83c8db94b3679beb06b224242d4c695fd (diff) | |
[Merge] lp:openobject-addons
bzr revid: dbr@tinyerp.com-20130527073407-gmizs4g76qinno80
Diffstat (limited to 'addons/plugin/plugin_handler.py')
| -rw-r--r-- | addons/plugin/plugin_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py index c278db2f19a..fc6c874fab5 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -110,7 +110,7 @@ class plugin_handler(osv.osv_memory): model_obj.message_post(cr, uid, [res_id], body=msg.get('body'), subject=msg.get('subject'), - type='email', + type='comment' if model == 'res.partner' else 'email', parent_id=msg.get('parent_id'), attachments=msg.get('attachments')) notify = _("Mail successfully pushed") |
