Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2327 Visninger

From the documentation:  (dbfilter) specifies how the database should be selected based on the hostname (domain) that is being requested.
It is necessary to use dbfilter in the config file if I'm using una server in production with one database and one domain?


Regards.

Avatar
Kassér
Bedste svar

It's not necessary to user dbfilter if you have only one DB and domain
but it's best practice to define it.
(if someone duplicates the DB from the database manager so next time user enter domain name it will open database selector instead of selecting the right db using dbfilter )

ref: https://github.com/odoo/odoo/blob/13.0/odoo/http.py#L1513

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
okt. 24
1221
2
sep. 23
2456
3
jun. 22
6846
0
okt. 21
1804
0
jun. 21
2251