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

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

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Okt 24
1370
2
Sep 23
2620
3
Agu 25
7099
0
Okt 21
1937
0
Jun 21
2416