diff options
| author | Josse Colpaert <jco@openerp.com> | 2013-05-23 10:40:39 +0200 |
|---|---|---|
| committer | Josse Colpaert <jco@openerp.com> | 2013-05-23 10:40:39 +0200 |
| commit | 9b0e6ba42576272b8cfab6dd3927cabd3148c389 (patch) | |
| tree | 61feeb43f7d72ef4f494e97743963dcdccdbd34b /addons/plugin/plugin_handler.py | |
| parent | 86b79bd3e77a317ec6be032ce3db69637dbf57de (diff) | |
| parent | e16f5b6e11e924c9871db6001ae052c4b34a7d0a (diff) | |
[MERGE] Merge from trunk
bzr revid: jco@openerp.com-20130523084039-1mb5frj6kkvuopxe
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") |
