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

11.0 saas portal signup separate server fix #784

Open
wants to merge 5 commits into
base: 11.0
Choose a base branch
from

Conversation

yelizariev
Copy link
Contributor

No description provided.

plan = Plan.browse(int(plan_id))
base_saas_domain = plan.server_id.local_host
else:
base_saas_domain = 'depends on the plan'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

?

if plan_id:
Plan = request.env['saas_portal.plan'].sudo()
plan = Plan.browse(int(plan_id))
base_saas_domain = plan.server_id.local_host
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why it's localhost?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know why - it should be the url of SaaS server (e.g. odoo-11.smb.ngalaba.com). It may be the name of saas_portal.server record either

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