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

Hi,

is there any option or app to hide the button of database selector.

Regards

아바타
취소
베스트 답변

In order to Hide the database selector screen, choose one of two options:

1. In the odoo.conf file [options]
list_db = False

2. Start odoo-bin (manually or in the .service file), with the --no-database-list parameter
i.e. ./odoo-bin -c /etc/odoo13.conf --no-database-list

Cheers!

아바타
취소
베스트 답변

Hi medmars,

You have a few options. You can add a database filter in order to only show the databases you'd like with the following option:

db_filter=REGEXP

For more information about the db_filter have a look at the documentation at https://www.odoo.com/documentation/11.0/setup/deploy.html#dbfilter

Alternatively you can set the list_db parameter to false - by doing this no databases will be listed or shown:

list_db=False

There is some limited documentation of this at https://www.odoo.com/documentation/11.0/setup/deploy.html#database-manager-security

You can find all server parameters and configuration options by running your Odoo-bin file with --help in order to output all options:

./odoo-bin --help


It will output all options, which you can find on Github at https://github.com/odoo/odoo/blob/cab7e0d204761a6249d67b4bb6e4b7ab6acb6e2b/odoo/tools/config.py#L102

Regards,
Yenthe

아바타
취소
작성자

Thanks Yenthe

You're welcome - best of luck!

작성자

Hi Yenthe,

i used your script to install odoo 11 in ubuntu, i found odoo.conf in /odoo/odoo-server/debian

i add list_db = False, i restart odoo-server, but nothing happen.

knowing that i do the same thing in odoo 10(under windows) and it work,

Any suggestions

Thanks

db_name = Kasi-master
dbfilter = Kasi-master
list_db = False
Still localhost:8069/web/database/manager listing all the database

베스트 답변
<odoo>
<data>
<template id="new_login_layout" inherit_id="web.login_layout" name="Login Layout Inherit">

<xpath expr="//div[@class='col-md-6 col-md-offset-3 o_database_list']" position="before">
<t t-set="disable_database_manager" t-value="1"/>
</xpath>

</template>

</data>
</odoo>
아바타
취소