diff options
| author | Christophe Simonis <chs@openerp.com> | 2013-07-17 16:29:47 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2013-07-17 16:29:47 +0200 |
| commit | 24ea151a37782416b340a41dd41568fd1cf8b1bb (patch) | |
| tree | ac7542598ec5307daeede4ff8cb03e2e4aba49f9 /addons/plugin/plugin_handler.py | |
| parent | 9d2cf73253089464ec06c23e029ea74be5655a35 (diff) | |
| parent | 7c4f374acac9b198e93b43cc6c242a2117966802 (diff) | |
merge upstream
bzr revid: chs@openerp.com-20130717142947-de40mn3234gt5044
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") |
