diff options
| author | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2013-06-05 14:29:40 +0530 |
|---|---|---|
| committer | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2013-06-05 14:29:40 +0530 |
| commit | 20a80d5b68212bcc9d98b3f6056fd95f2fe20ec4 (patch) | |
| tree | 635aa756a8aa95347770c64b3c7f2fdbeb9ca8ad /addons/plugin/plugin_handler.py | |
| parent | b364ef52bf047df89f1f65bf02e7f419370988b4 (diff) | |
| parent | 5cc8c30adfeccc6db22ebf7487b8e4ebdbe10423 (diff) | |
[MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20130605085940-jci6jc5kaowi3a0g
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") |
