diff options
| author | Jignesh Rathod (OpenERP) <jir@tinyerp.com> | 2013-06-07 11:16:38 +0530 |
|---|---|---|
| committer | Jignesh Rathod (OpenERP) <jir@tinyerp.com> | 2013-06-07 11:16:38 +0530 |
| commit | 42f27a15275effd9c43dfe99e32c395ca6b3fd8a (patch) | |
| tree | aaa49ee7000db1fdfe063903b3e56949bcf336f4 /addons/plugin/plugin_handler.py | |
| parent | f7bb48d3b173abb6f9a57ff86870ff4e36e46fe1 (diff) | |
| parent | d5d2f88b010315913bfde469e905fc100e7d1b76 (diff) | |
Merge with latest code.
bzr revid: jir@tinyerp.com-20130607054638-61sdf0oip5kk20eg
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") |
