diff options
| author | Ludwik Trammer <ludwik@gmail.com> | 2015-06-29 11:12:45 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2015-06-29 11:29:30 +0200 |
| commit | ece10c340156d8c20dfeb2172e2047a1f948ecd7 (patch) | |
| tree | 5ab4d2f24af4c39664e825532636014b90c48701 /addons | |
| parent | 7863e04f420429cf5951cf7f3b50f678866bd1e4 (diff) | |
[CLA] Ludwik Trammer
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/auth_signup/res_users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_signup/res_users.py b/addons/auth_signup/res_users.py index 620298c72d5..93532f70674 100644 --- a/addons/auth_signup/res_users.py +++ b/addons/auth_signup/res_users.py @@ -264,7 +264,7 @@ class res_users(osv.Model): if not user_ids: user_ids = self.search(cr, uid, [('email', '=', login)], context=context) if len(user_ids) != 1: - raise Exception('Reset password: invalid username or email') + raise Exception(_("Reset password: invalid username or email")) return self.action_reset_password(cr, uid, user_ids, context=context) def action_reset_password(self, cr, uid, ids, context=None): |
