diff options
| author | Amit Bhavsar (Open ERP) <amb@tinyerp.com> | 2013-05-31 14:28:56 +0530 |
|---|---|---|
| committer | Amit Bhavsar (Open ERP) <amb@tinyerp.com> | 2013-05-31 14:28:56 +0530 |
| commit | e7072c5edf88cd5a95fb868b8007c5af25c673fe (patch) | |
| tree | 381204957e1a04e822de65ebbe10c4c826950c95 /addons/plugin/plugin_handler.py | |
| parent | 0771fbf1466134a2b140b85e8843a8c1e79ac032 (diff) | |
| parent | c40010d9a365a9f71ada0a11fd25b36f9fa4f71f (diff) | |
[MERGE] merge with latest trunk
bzr revid: amb@tinyerp.com-20130531085856-k41mztip2gf92jea
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") |
