From 32f8a18dbfa87a6d12ea6062708bef119996c2d8 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 20 Oct 2014 17:06:30 +0200 Subject: [PATCH] [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. --- addons/auth_signup/res_users.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/auth_signup/res_users.py b/addons/auth_signup/res_users.py index 97bcea5..620298c 100644 --- 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 -- 1.7.10.4