summaryrefslogtreecommitdiff
path: root/addons/plugin/plugin_handler.py
diff options
context:
space:
mode:
authorPinakin Nayi (OpenERP) <pna@tinyerp.com>2012-09-07 19:07:06 +0530
committerPinakin Nayi (OpenERP) <pna@tinyerp.com>2012-09-07 19:07:06 +0530
commit6125b3bd91f092b412fea5260d89ba7a9416e62b (patch)
tree2c195e80008755c33a7023754eb83dcdd2333373 /addons/plugin/plugin_handler.py
parentee061a25f1348ce6b5ea110e28125c74ed2a4653 (diff)
[IMP]thunderbird partner push mail
bzr revid: pna@tinyerp.com-20120907133706-dhjr12dox3u0g1n0
Diffstat (limited to 'addons/plugin/plugin_handler.py')
-rw-r--r--addons/plugin/plugin_handler.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py
index 96d93afc025..ec4217381af 100644
--- a/addons/plugin/plugin_handler.py
+++ b/addons/plugin/plugin_handler.py
@@ -106,8 +106,6 @@ class plugin_handler(osv.osv_memory):
res_id = model_obj.message_new(cr, uid, msg)
notify = "Mail succesfully pushed, a new %s has been created " % model
else:
- if model == 'res.partner':
- model_obj = self.pool.get('mail.thread')
model_obj.message_post(cr, uid, [res_id], body=msg)
notify = "Mail succesfully pushed"