[FIX] auth_signup: refresh is no longer needed with the new api
Besides, it leads to a invalidation of the cache, which is not needed here.
This commit is contained in:
parent
6c61d3c800
commit
32f8a18dbf
|
@ -64,7 +64,6 @@ class res_partner(osv.Model):
|
||||||
# when required, make sure the partner has a valid signup token
|
# when required, make sure the partner has a valid signup token
|
||||||
if context.get('signup_valid') and not partner.user_ids:
|
if context.get('signup_valid') and not partner.user_ids:
|
||||||
self.signup_prepare(cr, uid, [partner.id], context=context)
|
self.signup_prepare(cr, uid, [partner.id], context=context)
|
||||||
partner.refresh()
|
|
||||||
|
|
||||||
route = 'login'
|
route = 'login'
|
||||||
# the parameters to encode for the query
|
# the parameters to encode for the query
|
||||||
|
|
Loading…
Reference in New Issue