saas-addons icon indicating copy to clipboard operation
saas-addons copied to clipboard

[FIX]signup_error caused by missing params

Open digitalsatori opened this issue 2 years ago • 2 comments

When signing up new user from frontend, the below error is prompted, the same issue mentioned in #126 :

Traceback (most recent call last):
File "/odoo14/custom/saas/auth_signup_verify_email/controllers/main.py", line 59, in passwordless_signup
sudo_users.signup(values, qcontext.get("token"))
File "/odoo14/custom/saas/saas_apps_signup/models/res_users.py", line 31, in signup
return self.signup_to_try(values, *args, **kwargs)
File "/odoo14/custom/saas/saas_apps_signup/models/res_users.py", line 43, in signup_to_try
operator_id = int(values.pop("operator_id"))
KeyError: 'operator_id'```

digitalsatori avatar Jul 26 '22 09:07 digitalsatori

Hi, @digitalsatori! Could you please show steps to reproduce this error and it's traceback?

em230418 avatar Aug 02 '22 07:08 em230418

Hi, @digitalsatori! Could you please show steps to reproduce this error and it's traceback?

I updated the description.Actually I just find out that this issue has been correctly fixed in your branch 15.0, maybe we can just back ported here.

digitalsatori avatar Aug 02 '22 07:08 digitalsatori