diff options
| author | Ludwik Trammer <ludwik@gmail.com> | 2015-06-29 11:24:34 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2015-06-29 11:29:30 +0200 |
| commit | e9c5da3524490d8ec2b285abcabbc7f4577255cf (patch) | |
| tree | b1dff9745a1016d961c664fa83d33718f66bbef8 /addons | |
| parent | ece10c340156d8c20dfeb2172e2047a1f948ecd7 (diff) | |
[FIX] auth_signup: translate exception
The exception raised when resetting the password must be translated.
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 93532f70674..4b972b5ec20 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): |
