Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
319 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 25
1197
3
Mar 25
2142
2
Feb 25
5176
1
Feb 25
1919
1
Mei 25
1344