diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-07-17 09:47:10 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-07-17 09:47:10 +0200 |
| commit | 32d0f6bce086e10bf31f3a326503e45b0f4d9ff0 (patch) | |
| tree | 80a2fa08c867b237560e28547db4edbae8c882a3 /addons/plugin/plugin_handler.py | |
| parent | 318faddaa91a9d654fcaec4d4b4e6a3f65862d9e (diff) | |
| parent | 7c4f374acac9b198e93b43cc6c242a2117966802 (diff) | |
[MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130717074710-2jz58nqwe7hnyyij
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") |
