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

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?

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

here is the video reference


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

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 23
24635
1
thg 1 21
4191
3
thg 8 20
14421
5
thg 7 25
16185
1
thg 3 24
12254