コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
10592 ビュー

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
2368
2
11月 18
8140
1
9月 17
3547
1
7月 19
6493
1
11月 18
4174