-
Notifications
You must be signed in to change notification settings - Fork 581
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
base: 11.0
Are you sure you want to change the base?
11.0 saas portal signup separate server fix #784
Conversation
…full db-name (--db-filter=^%h$ configuration)
…isses ids (('1',)) and has extra ids ((1,)), may be caused by a type incoherence in a previous request", None)
plan = Plan.browse(int(plan_id)) | ||
base_saas_domain = plan.server_id.local_host | ||
else: | ||
base_saas_domain = 'depends on the plan' |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why it's localhost?
There was a problem hiding this comment.
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
No description provided.