diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-06-06 15:53:13 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-06-06 15:53:13 +0200 |
| commit | 5601fbd78c04c63e3d298328b285d992634ad4f7 (patch) | |
| tree | 529557e50f776ff8d91d311699fa7d1babd3ba78 /addons/plugin/plugin_handler.py | |
| parent | 89896f32bbf6aeecfbddc0f7e8397781fce2a99c (diff) | |
| parent | d5d2f88b010315913bfde469e905fc100e7d1b76 (diff) | |
[MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130606135313-u3mbe1a8yeussnck
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") |
