Skip to Content
Menú
This question has been flagged
1 Respondre
318 Vistes

If you have multiple databases in a single server instance, does that cause issues when sending out invite links? I thought maybe what is happening is, after the invite link is sent to user, when that user tries the link, the link somehow forgets or can't decide which database to bring the user. But then the database is part of the URL, so this can't be the cause.

If the issue is because of multi DB's...if you have only one server, multiple databases, showing those databases to users at login, how would this be handled so that the links aren't broken?

Avatar
Descartar
Best Answer

Hi,


Invite links must include ?db=yourdbname

So the user is directed to the correct database.


Set dbfilter = db_name in your odoo.conf

This helps Odoo map subdomains (like mydb.domain.com) to the correct database (mydb).


Set list_db = False in production

It hides the database selector page, so users don’t get confused.


Avoid using the base URL (domain.com) without a DB or subdomain

Always use full URLs with DB name in param or subdomain.


If using a proxy (like Nginx), make sure it doesn’t strip ?db= from the URL.


On Odoo.sh, each branch (staging/production) gets its own domain automatically—use that.


Hope it helps.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 25
1197
3
de març 25
2142
2
de febr. 25
5175
1
de febr. 25
1919
1
de maig 25
1344