diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-05-23 15:33:31 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-05-23 15:33:31 +0200 |
| commit | fa03f80ee3ca758e2b00579333a8bec78abd5c77 (patch) | |
| tree | a80aa613bdfbf8f7a1d5e2cae3564c6748b4cb15 /addons/plugin/plugin_handler.py | |
| parent | 1606f28c01b621676c79ee2723e296990b2ff6d7 (diff) | |
| parent | a036561b53c3c5bd9d0fdc8a23d51f5e96aa71a1 (diff) | |
[MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130523133331-7awvj346szzepux4
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") |
