summaryrefslogtreecommitdiff
path: root/addons/plugin/plugin_handler.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-08-22 13:34:39 +0200
committerOlivier Dony <odo@openerp.com>2012-08-22 13:34:39 +0200
commit406e58399fd1444cd5b83862d6493f59fcb08790 (patch)
treef0c13bfad52c08df180cb608e05580f3bae9f827 /addons/plugin/plugin_handler.py
parent49596ebe91b11bfa759782eb6176c6a0a918279a (diff)
[FIX] mail: unify message_post calls, fix typos, various lint cleanup
bzr revid: odo@openerp.com-20120822113439-aoy7v4njs6o34tu5
Diffstat (limited to 'addons/plugin/plugin_handler.py')
-rw-r--r--addons/plugin/plugin_handler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py
index 6d6262ddd22..9c582a8e3bf 100644
--- a/addons/plugin/plugin_handler.py
+++ b/addons/plugin/plugin_handler.py
@@ -101,15 +101,15 @@ class plugin_handler(osv.osv_memory):
notify = "Email already pushed"
elif res_id == 0:
if model == 'res.partner':
- notify = 'User the button Partner to create a new partner'
+ notify = 'User the Partner button to create a new partner'
else:
res_id = model_obj.message_new(cr, uid, msg)
- notify = "Mail succefully pushed, a new %s has been created " % model
+ 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 succefully pushed"
+ notify = "Mail succesfully pushed"
url = self._make_url(cr, uid, res_id, model)
return (model, res_id, url, notify)