[FIX] auth_signup: do not send set_password email at user signup

bzr revid: chs@openerp.com-20131126161658-9yvocjcrvbvqc51l
This commit is contained in:
Christophe Simonis 2013-11-26 17:16:58 +01:00
parent a6ae52affa
commit 1e2cf5c245
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ class res_users(osv.Model):
# create a copy of the template user (attached to a specific partner_id if given)
values['active'] = True
context = dict(context or {}, no_reset_password=True)
return self.copy(cr, uid, template_user_id, values, context=context)
def reset_password(self, cr, uid, login, context=None):