Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed signup #127

Draft
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Draft

fixed signup #127

wants to merge 1 commit into from

Conversation

zesov
Copy link

@zesov zesov commented May 21, 2022

No description provided.

@ilmir-k ilmir-k requested a review from em230418 May 23, 2022 05:36
@@ -40,7 +40,7 @@ def signup_to_try(self, values, *args, **kwargs):
saas_template_id = values.pop("saas_template_id", "")
max_users_limit = int(values.pop("max_users_limit", 1))
subscription_period = values.pop("period", "")
operator_id = int(values.pop("operator_id"))
operator_id = int(values.pop("operator_id","1"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is incorrect. operator_id should be set.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean it should be set in "values".

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so it should set the default template at auth_signup.py
template = request.env.ref("saas_apps.base_template")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants