Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2340 Представления

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.

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
окт. 24
1223
2
сент. 23
2471
3
июн. 22
6864
0
окт. 21
1811
0
июн. 21
2261