Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
323 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 25
1198
3
mar. 25
2147
2
feb. 25
5183
1
feb. 25
1921
1
mai 25
1351