[FIX] auth_signup: do not send set_password email at user signup
bzr revid: chs@openerp.com-20131126161658-9yvocjcrvbvqc51l
This commit is contained in:
parent
a6ae52affa
commit
1e2cf5c245
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue