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

Guys,

I have two databases. odoo and odoo1.

0.0.0.0:8069/ is directed to 0.0.0.0:8069/web/database/selector.

But I want to change to 0.0.0.0:8069/web?db=odoo.

Please help me.

아바타
취소
베스트 답변

Hello shameem@aχoncoms,


If you run in locally then try this command. The Server take default database using --db-filter options.
Ex:-

Go to your odoo directory using cd command.

cd odoo10 then enter

after this, paste below code.


./odoo-bin --addons-path=addons -d odoo --db-filter=odoo


If you run from windows then you should define --db-filter=odoo in openerp-server.conf file under odoo folder.


Hope this will helps you.

Thanks,

 

아바타
취소
작성자

Thanks for your support.

I am using ubuntu and followed this

https://www.odoo.com/documentation/9.0/setup/install.html#deb

I wrote in terminal

./odoo-bin --addons-path=addons -d odoo --db-filter=odoo

But resut is

bash: ./odoo-bin: No such file or directory

Which version odoo are you using ? In odoo10, server will start with ./odoo-bin and In odoo9, server will start with ./odoo.py

You should define --db-filter=odoo in openerp-ser.conf file which is stored as follow path /etc/odoo/openerp-server.conf. Try it.

openerp-server.conf*

작성자

Sorry for my mistake in link.

My version is odoo 10

result is bash: ./odoo-bin: No such file or directory

First you want to go odoo10 directory using cd command then check odoo-bin file is in your odoo10 directory or not. If yes then, start server using command which is in my answer. Also edited the answer

작성자

Thank u for your constant support.

is --db-filter to filter database?

But I want to show all databases in 0.0.0.0:8069/web/database/selector.

My requirement is

First time, 0.0.0.0:8069/ must redirect to the login page of specified database.

--db-filter is filtered the database. Try to remove --db-filter options from terminal so you can see all the database.

작성자

I solved by multi company instead of multi database. :)

관련 게시물 답글 화면 활동
0
11월 18
2440
2
11월 18
8258
1
9월 17
3640
1
7월 19
6582
1
11월 18
4272