diff options
| author | sgo@tinyerp.com <> | 2013-06-03 18:44:53 +0530 |
|---|---|---|
| committer | sgo@tinyerp.com <> | 2013-06-03 18:44:53 +0530 |
| commit | 45d760773e8870f57b4b2a3461ddae9365ff28b7 (patch) | |
| tree | 84ea019e187aebc42874034ce5f62cf6c3104c92 /addons/plugin | |
| parent | c04dfafe0b8e5af7fcead06193753f65a96faf2f (diff) | |
| parent | 667876728dd75959149be9279979cc435f6d0f96 (diff) | |
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130603131453-t3m0b9emuyp2tmsx
Diffstat (limited to 'addons/plugin')
| -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") |
