diff options
| author | sgo@tinyerp.com <> | 2013-06-05 12:49:05 +0530 |
|---|---|---|
| committer | sgo@tinyerp.com <> | 2013-06-05 12:49:05 +0530 |
| commit | 6a3cdf718ce4f9bd2749bb75993cdbcfd86d3eb2 (patch) | |
| tree | 075af0421f75fd36ca9f5cd44551e58ffc73460a /addons/plugin/plugin_handler.py | |
| parent | 143b485baf8adb7936d7784e314ccd405d1b8c14 (diff) | |
| parent | 5cc8c30adfeccc6db22ebf7487b8e4ebdbe10423 (diff) | |
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130605071905-o2ldzc6vxqnoe099
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") |
