Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2324 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 24
1219
2
thg 9 23
2453
3
thg 6 22
6834
0
thg 10 21
1800
0
thg 6 21
2245