Skip to content

Commit

Permalink
Update auth_signup.py
Browse files Browse the repository at this point in the history
[FIX] saas_apps_signup: res.users.signup_to_try raises exception (it-projects-llc#126)
  • Loading branch information
glupeksha authored Jul 2, 2022
1 parent c933a6f commit e589891
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saas_apps_signup/controllers/auth_signup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def get_auth_signup_qcontext(self):
template = None
if template:
d["operator_id"] = template._random_ready_operator_id()
else:
d["operator_id"] = request.env.ref("saas_apps.base_template")._random_ready_operator_id()

d['langs'] = odoo.service.db.exp_list_lang()
d['countries'] = odoo.service.db.exp_list_countries()
Expand Down

0 comments on commit e589891

Please sign in to comment.