[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:
Denis Ledoux 2014-10-20 17:06:30 +02:00
parent 6c61d3c800
commit 32f8a18dbf
1 changed files with 0 additions and 1 deletions

View File

@ -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