diff options
| author | Foram Katharotiya (OpenERP) <fka@tinyerp.com> | 2013-05-31 15:31:21 +0530 |
|---|---|---|
| committer | Foram Katharotiya (OpenERP) <fka@tinyerp.com> | 2013-05-31 15:31:21 +0530 |
| commit | 9fc3b5e73a8599879adae3237abff0893b0f3e35 (patch) | |
| tree | cd681794c9b46c59928e91e060f9ea63808267d1 /addons/plugin/plugin_handler.py | |
| parent | 817be7587b7b91149c1cc191e645e19c38ed420e (diff) | |
| parent | c40010d9a365a9f71ada0a11fd25b36f9fa4f71f (diff) | |
[MERGE] with trunk
bzr revid: fka@tinyerp.com-20130531100121-q0h1ddqjlag2hstp
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") |
