[CLA] Ludwik Trammer

This commit is contained in:
Ludwik Trammer 2015-06-29 11:12:45 +02:00 committed by Goffin Simon
parent 7863e04f42
commit ece10c3401
2 changed files with 12 additions and 1 deletions

View File

@ -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):

View File

@ -0,0 +1,11 @@
Poland, 2015-05-25
I hereby agree to the terms of the Odoo Individual Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Ludwik Trammer ludwik@gmail.com https://github.com/ludwiktrammer