diff options
| author | Nimesh Contractor (OpenERP) <nco@tinyerp.com> | 2013-06-03 18:56:31 +0530 |
|---|---|---|
| committer | Nimesh Contractor (OpenERP) <nco@tinyerp.com> | 2013-06-03 18:56:31 +0530 |
| commit | 3160f39b1791f97f8e6f9c3c7694dc34dab92422 (patch) | |
| tree | deffc108e797cf51986f39ec7951f68ba634eb14 /addons/plugin/plugin_handler.py | |
| parent | 117f13e1bdb7ed482ec6510ceff650c2389f1b8c (diff) | |
| parent | 667876728dd75959149be9279979cc435f6d0f96 (diff) | |
[MERGE] with trunk
bzr revid: nco@tinyerp.com-20130603132631-o8dvw3v5x1wi3im6
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") |
