DeployInstanceDrawer + MigrateDrawer were hardcoding '<code>.tenants.odoosky.org' as the auto-suggested instance domain, even when the operator's tenant has its own domain set in Settings. A tenant whose wildcardHost is '*.tenants.4th.online' would still see the wizard pre-fill 'odoo16.tenants.odoosky.org' in the Domain field — the suggestion landed in the wrong zone, instance create would fail DNS write. Both drawers now fetch /api/tenants/<id>/settings on mount and use 'tenants.<domain>' (with leading '*.' stripped from wildcardHost) as the suffix, falling back to odoosky.org only if the call errors or the field is empty.
2.0 KiB
2.0 KiB