From b47f0239dc34e4ad3659094e7b32da02ef9a3c74 Mon Sep 17 00:00:00 2001 From: Yogesh Sakhreliya Date: Mon, 3 Jan 2011 19:00:24 +0530 Subject: [PATCH] [IMP] improve message string. bzr revid: ysa@tinyerp.com-20110103133024-r7jim80edc3fmyei --- bin/addons/base/res/res_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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