diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2012-09-13 12:47:24 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2012-09-13 12:47:24 +0530 |
| commit | 989ce9204b9d6ade19a609805b7b2ba22c5d5b8b (patch) | |
| tree | 5427eb34e402a2727cb93561342935faac7825eb /addons/plugin/plugin_handler.py | |
| parent | 0efb0d57e7aa7f79e91ac759048edc1301be8eca (diff) | |
[FIX] plugin: should call message_process instead of message_new for new message
bzr revid: hmo@tinyerp.com-20120913071724-re6w0fy6jspldsjh
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 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], |
