diff options
| author | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2013-05-28 14:40:32 +0530 |
|---|---|---|
| committer | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2013-05-28 14:40:32 +0530 |
| commit | 1e6a6be3a41184f3631c2d0f9cd0280e1e087f42 (patch) | |
| tree | 9c2902bdd9604a3cf0fefc9e55f03bd4ef03d3cc /addons/plugin/plugin_handler.py | |
| parent | fc295aad7791ec3ed6dc6f904c186da2e4b253eb (diff) | |
| parent | 814a121dabbbe45a1c9ee671222b3a2bf261059a (diff) | |
[MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20130528091032-5y0507ojtxubanxq
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") |
