Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
10590 Представления

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. :)

Related Posts Ответы Просмотры Активность
0
нояб. 18
2365
2
нояб. 18
8140
1
сент. 17
3546
1
июл. 19
6489
1
нояб. 18
4171