Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6348 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 23
24634
1
ม.ค. 21
4191
3
ส.ค. 20
14420
5
ก.ค. 25
16183
1
มี.ค. 24
12251