Repository navigation
Fill in the Odoo database name the setup check finds - #1607
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When an Odoo setup check fails because the database name is wrong, the check already asks Odoo which database the address serves (
/web/database/list) and names it in the message. Users did not type it in. On 9 Nov 2026, 19 Odoo workspaces were still stuck at the setup check, most of them on exactly this message.Now, when the address serves a single database, the check runs a second time with that name. When Odoo accepts it, the setup page writes the name into the field, saves it with the connector and says so. When only the API key is refused with the right name, the name is still filled in and the message is about the key.
Changes
odoo-database-hint.ts: the advice carriesdatabasewhen the address serves exactly one database other than the one entered (the wording of the messages does not change).AdaptersService.verifyCredentials: one retry withODOO_DBset to that name; returnscorrected: { ODOO_DB }and anote. The internal hint never reaches the response.correctedto the form, saves it, shows the note on the success screen, and addscorrectedto thesetup_completedevent.Cloud and self-hosted behave the same: the extra request goes only to the Odoo address the user entered, and only after a failed check.
Type
Testing
Checklist