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

Hello,

I have a (v8 or v9, still the same) server with a couple of databases, one of which contains my website. I'd like to have the users be redirected, served the correct website without them needing to explicitly select it. I would like to, however, be able to select other databases for testing as well via /web/database/selector.

I have an answer for selecting default database as:

    (in config)

     db_filter = your_default_database, or, for unambiguous result, db_filter = ^your_default_database$

But that disables selecting other databases altogether, only the one filtered is available in the list. How can I select the default, but have others available?

الصورة الرمزية
إهمال
أفضل إجابة

here is the video reference


الصورة الرمزية
إهمال
أفضل إجابة

http://odoo.test.com:8069/web/login?db=odoo_test_db


through this you can access default db pls don't use db-filter it will hide other dbs

الصورة الرمزية
إهمال
الكاتب

What about the Front-End nature of the website? As in, an eCommerce website. The visitors should still get the default database selected for them, and just with the domain.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
نوفمبر 23
24685
1
يناير 21
4246
3
أغسطس 20
14456
5
يوليو 25
16235
1
مارس 24
12309