diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-05-22 12:26:05 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-05-22 12:26:05 +0200 |
| commit | 0d01d958fa5cc28bdc9cf1fc13e0c9dbe530d78f (patch) | |
| tree | 614bfdcbb02f7cc0ef319ea79aac6e0732d53bfc /addons/plugin/plugin_handler.py | |
| parent | 218024570d40c5e0ced75b732a9f6efd0172453f (diff) | |
| parent | 8aa85c2523a87db7555f1ca9dbda6e5cbc3306c9 (diff) | |
[MERGE] [FORWARD] Forward port of saas-1 branch until revision 8711 (that includes forward-port of 7.0 until 9143)
Revision ID: tde@openerp.com-20130521152657-v48pj2m0692rw9b5
bzr revid: tde@openerp.com-20130522102605-bbc5vrfhfro4ab90
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") |
