diff options
| author | bth-openerp <bth@tinyerp.com> | 2013-05-31 14:24:55 +0530 |
|---|---|---|
| committer | bth-openerp <bth@tinyerp.com> | 2013-05-31 14:24:55 +0530 |
| commit | 01ce4517ff81b6ac245ff0c041a0613cce5bbad1 (patch) | |
| tree | ccf4dfa5e2dc54af789828188b0a726c1ab3183f /addons/plugin/plugin_handler.py | |
| parent | 2893b754eaca53f211ebe52a1456624b0b829612 (diff) | |
| parent | c40010d9a365a9f71ada0a11fd25b36f9fa4f71f (diff) | |
[MERGE]Merge lp:openobject-addons.
bzr revid: bth@tinyerp.com-20130531085455-0qmymy5ukb0011sx
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") |
