تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2309 أدوات العرض

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
أكتوبر 24
1210
2
سبتمبر 23
2431
3
يونيو 22
6819
0
أكتوبر 21
1782
0
يونيو 21
2239