Skip to Content
Menu
This question has been flagged
3 Replies
3624 Views

Hi all odoo developers, I have one problem when user click on link in email to reset password , it always show "Invalid signup token" , so what should I config or which module I can fix on coding ?

Avatar
Discard

can you update the question with the DB details and whether are you using dbfilter

Author

Hi Hilar AK, this is the error I get :

Traceback (most recent call last):

File "/home/sambath/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 177, in run_wsgi

execute(self.server.app)

File "/home/sambath/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 165, in execute

application_iter = app(environ, start_response)

File "/odoo_project/odoo/odoo/service/server.py", line 307, in app

return self.app(e, s)

File "/odoo_project/odoo/odoo/service/wsgi_server.py", line 186, in application

return application_unproxied(environ, start_response)

File "/odoo_project/odoo/odoo/service/wsgi_server.py", line 172, in application_unproxied

result = handler(environ, start_response)

File "/odoo_project/odoo/odoo/http.py", line 1326, in __call__

return self.dispatch(environ, start_response)

File "/odoo_project/odoo/odoo/http.py", line 1300, in __call__

return self.app(environ, start_wrapped)

File "/home/sambath/.local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 579, in __call__

return self.app(environ, start_response)

File "/odoo_project/odoo/odoo/http.py", line 1499, in dispatch

result = ir_http._dispatch()

File "/odoo_project/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch

return super(IrHttp, cls)._dispatch()

File "/odoo_project/odoo/odoo/addons/base/ir/ir_http.py", line 199, in _dispatch

return cls._handle_exception(e)

File "/odoo_project/odoo/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception

return request._handle_exception(exception)

File "/odoo_project/odoo/odoo/http.py", line 775, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/odoo_project/odoo/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch

result = request.dispatch()

File "/odoo_project/odoo/odoo/http.py", line 834, in dispatch

r = self._call_function(**self.params)

File "/odoo_project/odoo/odoo/http.py", line 334, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/odoo_project/odoo/odoo/service/model.py", line 101, in wrapper

return f(dbname, *args, **kwargs)

File "/odoo_project/odoo/odoo/http.py", line 327, in checked_call

result = self.endpoint(*a, **kw)

File "/odoo_project/odoo/odoo/http.py", line 942, in __call__

return self.method(*args, **kw)

File "/odoo_project/odoo/odoo/http.py", line 507, in response_wrap

response = f(*args, **kw)

File "/odoo_project/odoo/addons/auth_signup/controllers/main.py", line 46, in web_auth_reset_password

qcontext = self.get_auth_signup_qcontext()

File "/odoo_project/odoo_mptc/project_new/ck_signup/controllers/controllers.py", line 62, in get_auth_signup_qcontext

token_infos = request.env['res.partner'].sudo().signup_retrieve_info(qcontext.get('token'))

File "/odoo_project/odoo/addons/auth_signup/models/res_partner.py", line 159, in signup_retrieve_info

partner = self._signup_retrieve_partner(token, raise_exception=True)

File "/odoo_project/odoo/addons/auth_signup/models/res_partner.py", line 141, in _signup_retrieve_partner

raise SignupError("Signup token '%s' is not valid" % token)

SignupError: Signup token '4PZl92uHXpTyxYMetIzH' is not valid

Author Best Answer


Hi Hilar AK, this is the error I get :

Traceback (most recent call last):

File "/home/sambath/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 177, in run_wsgi

execute(self.server.app)

File "/home/sambath/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 165, in execute

application_iter = app(environ, start_response)

File "/odoo_project/odoo/odoo/service/server.py", line 307, in app

return self.app(e, s)

File "/odoo_project/odoo/odoo/service/wsgi_server.py", line 186, in application

return application_unproxied(environ, start_response)

File "/odoo_project/odoo/odoo/service/wsgi_server.py", line 172, in application_unproxied

result = handler(environ, start_response)

File "/odoo_project/odoo/odoo/http.py", line 1326, in __call__

return self.dispatch(environ, start_response)

File "/odoo_project/odoo/odoo/http.py", line 1300, in __call__

return self.app(environ, start_wrapped)

File "/home/sambath/.local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 579, in __call__

return self.app(environ, start_response)

File "/odoo_project/odoo/odoo/http.py", line 1499, in dispatch

result = ir_http._dispatch()

File "/odoo_project/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch

return super(IrHttp, cls)._dispatch()

File "/odoo_project/odoo/odoo/addons/base/ir/ir_http.py", line 199, in _dispatch

return cls._handle_exception(e)

File "/odoo_project/odoo/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception

return request._handle_exception(exception)

File "/odoo_project/odoo/odoo/http.py", line 775, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/odoo_project/odoo/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch

result = request.dispatch()

File "/odoo_project/odoo/odoo/http.py", line 834, in dispatch

r = self._call_function(**self.params)

File "/odoo_project/odoo/odoo/http.py", line 334, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/odoo_project/odoo/odoo/service/model.py", line 101, in wrapper

return f(dbname, *args, **kwargs)

File "/odoo_project/odoo/odoo/http.py", line 327, in checked_call

result = self.endpoint(*a, **kw)

File "/odoo_project/odoo/odoo/http.py", line 942, in __call__

return self.method(*args, **kw)

File "/odoo_project/odoo/odoo/http.py", line 507, in response_wrap

response = f(*args, **kw)

File "/odoo_project/odoo/addons/auth_signup/controllers/main.py", line 46, in web_auth_reset_password

qcontext = self.get_auth_signup_qcontext()

File "/odoo_project/odoo_mptc/project_new/ck_signup/controllers/controllers.py", line 62, in get_auth_signup_qcontext

token_infos = request.env['res.partner'].sudo().signup_retrieve_info(qcontext.get('token'))

File "/odoo_project/odoo/addons/auth_signup/models/res_partner.py", line 159, in signup_retrieve_info

partner = self._signup_retrieve_partner(token, raise_exception=True)

File "/odoo_project/odoo/addons/auth_signup/models/res_partner.py", line 141, in _signup_retrieve_partner

raise SignupError("Signup token '%s' is not valid" % token)

SignupError: Signup token '4PZl92uHXpTyxYMetIzH' is not valid


Avatar
Discard