콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
19821 화면

we have been trying to get the dbfilter option to work in the conf file.

We want to set db1 as the default database since its loaded with the website.

Also, be able to log in and access the other databases [db2,db3.db4...]

any suggestion?


아바타
취소
베스트 답변

You have 2 options using command line options:

  1. Make sure that the expression used in --db-filter selects all the databases that can be selected. OR

  2. Use the -d or --database option with a comma separated list of db names. 

You could also specify the values in the odoo.conf file instead of the command line options:

    1. db_name is the equivalent of the command line option -d / --database

    2. dbfilter is the equivalent of the command line option --db-filter

아바타
취소
베스트 답변

Hi,

In the configuration file add db_name=db1 and try.  You can see the working of the db_name in the configuration file here: Filter Particular Database In Odoo

Thanks

아바타
취소