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:
6c61d3c
)
[FIX] auth_signup: refresh is no longer needed with the new api
author
Denis Ledoux
<dle@odoo.com>
Mon, 20 Oct 2014 15:06:30 +0000
(17:06 +0200)
committer
Denis Ledoux
<dle@odoo.com>
Mon, 20 Oct 2014 15:06:30 +0000
(17:06 +0200)
Besides, it leads to a invalidation of the cache, which is not needed here.
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
97bcea5
..
620298c
100644
(file)
--- a/
addons/auth_signup/res_users.py
+++ b/
addons/auth_signup/res_users.py
@@
-64,7
+64,6
@@
class res_partner(osv.Model):
# when required, make sure the partner has a valid signup token
if context.get('signup_valid') and not partner.user_ids:
self.signup_prepare(cr, uid, [partner.id], context=context)
- partner.refresh()
route = 'login'
# the parameters to encode for the query