summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYogesh Sakhreliya <ysa@tinyerp.com>2011-01-03 19:00:24 +0530
committerYogesh Sakhreliya <ysa@tinyerp.com>2011-01-03 19:00:24 +0530
commitb47f0239dc34e4ad3659094e7b32da02ef9a3c74 (patch)
tree4f471e8bf9440461b841e3a290b39b19a4a004bc
parent2218b36b50b34ba7641f59dd448a404ae28d067a (diff)
[IMP] improve message string.
bzr revid: ysa@tinyerp.com-20110103133024-r7jim80edc3fmyei
-rw-r--r--bin/addons/base/res/res_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/res/res_user.py b/bin/addons/base/res/res_user.py
index d22023810d7..103cc2784c3 100644
--- a/bin/addons/base/res/res_user.py
+++ b/bin/addons/base/res/res_user.py
@@ -478,7 +478,7 @@ class users(osv.osv):
def change_password(self, cr, uid, ids, old_passwd, new_passwd):
if self.browse(cr, uid, uid).password != old_passwd:
- raise osv.except_osv(_('AccessDenied'), 'The current password does not match !')
+ raise osv.except_osv(_('AccessDenied'), 'The old password does not match !')
else:
self.write(cr, uid, uid, {'password': new_passwd})
return True