projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ae52a
)
[FIX] auth_signup: do not send set_password email at user signup
author
Christophe Simonis
<chs@openerp.com>
Tue, 26 Nov 2013 16:16:58 +0000
(17:16 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Tue, 26 Nov 2013 16:16:58 +0000
(17:16 +0100)
bzr revid: chs@openerp.com-
20131126161658
-9yvocjcrvbvqc51l
addons/auth_signup/res_users.py
patch
|
blob
|
history
diff --git
a/addons/auth_signup/res_users.py
b/addons/auth_signup/res_users.py
index
38beb08
..
a9469e4
100644
(file)
--- a/
addons/auth_signup/res_users.py
+++ b/
addons/auth_signup/res_users.py
@@
-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):