跳至內容
選單
此問題已被標幟
1 回覆
2345 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 24
1229
2
9月 23
2471
3
6月 22
6868
0
10月 21
1811
0
6月 21
2262