Hi,
is there any option or app to hide the button of database selector.
Regards
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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>
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Reference: http://learnopenerp.blogspot.com/2018/09/remove-manage-database-and-powered-by-odoo-from-login-page.html