summaryrefslogtreecommitdiff
path: root/addons/plugin/plugin_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/plugin/plugin_handler.py')
-rw-r--r--addons/plugin/plugin_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py
index 8f0fdc1ad8e..dee2cac117d 100644
--- a/addons/plugin/plugin_handler.py
+++ b/addons/plugin/plugin_handler.py
@@ -103,7 +103,7 @@ class plugin_handler(osv.osv_memory):
if model == 'res.partner':
notify = 'User the Partner button to create a new partner'
else:
- res_id = model_obj.message_new(cr, uid, msg)
+ res_id = model_obj.message_process(cr, uid, model, email)
notify = "Mail successfully pushed, a new %s has been created " % model
else:
model_obj.message_post(cr, uid, [res_id],