diff options
| author | Paramjit Singh Sahota <psa@tinyerp.com> | 2013-05-27 18:47:34 +0530 |
|---|---|---|
| committer | Paramjit Singh Sahota <psa@tinyerp.com> | 2013-05-27 18:47:34 +0530 |
| commit | 1c7ce4aa37c409611d55e814b87dde9c38868b5d (patch) | |
| tree | e9876640246a58503b78ff28b1f25d39df1f3ade /addons/plugin/plugin_handler.py | |
| parent | 4847ba79975bce4e1cec853c88021fa2cc30ed2f (diff) | |
| parent | 0dc0d9f83c8db94b3679beb06b224242d4c695fd (diff) | |
[MERGE] Merged lp:openobject-addons.
bzr revid: psa@tinyerp.com-20130522064934-9ief76qy3lynwqt9
bzr revid: psa@tinyerp.com-20130527131734-mnqn4fir6b3pzogt
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") |
