Odoo Help


How to hide database list? [Closed]

on 2/25/14, 5:55 PM 9,444 views

The Question has been closed

Sudhir Arya (ERP Harbor Consulting Services)
on 02/28/2014 16:17:38

I am trying to remove the database list which is shown at Log-In screen.

I am trying to remove it through module, I know about --db-filter and --no-database-list and how to use it at server startup.

My module:

<t t-extend="Login">
   <t t-jquery="div.oe_login_dbpane" t-operation="replace">
        <div class="oe_login_dbpane">
            Db-removed <!-- <input name="db" t-att-value="widget.selected_db || ''"/> -->

When I comment out the < input > tag page does not load.

Can someone please tell me how to hide database list using a module?

Ram Peri
On 2/28/14, 12:27 AM

I am assuming you want only one database to show in your openerp installation. My personal preference is to bind one database to one subdomain. Here is a server side solution.

When you start the openerp-server, use the following options -d DBNAME --db-filter=DBNAME

e,g. openerp-server -c openerp-server.DBNAME.conf -d DBNAME --db-filter=DBNAME

Thanks. I will make that mine personal preference too.

on 2/28/14, 7:39 AM

René Schuster

--René Schuster--
| 5 5 8
Weinheim, Germany
--René Schuster--

Challenge Everything!

René Schuster
On 2/27/14, 7:05 AM


Create a module and add a .css file containing this code:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Templates modified at the web start, before loading of a database. -->
<!-- Remove the Manage database link, but keep the Powered by OpenERP-->
<t t-extend="Login">
    <t t-jquery="div.oe_login_footer" t-operation="replace">
        <a href="http://www.openerp.com" target="_blank">Powered by <span>OpenERP</span></a>

This will remove the 'Manage Databse' link in the login footer AND the database drop down list in the top right corner. It works fine for me. (I only have one database running)


Victor Godayer
On 2/27/14, 7:40 AM

You can do that at your server start :

openerp-server  --no-database-list

Then to access your openerp you need to specify the database in the url parameter

Victor Godayer
On 2/27/14, 7:43 AM

You can do that at your server start :

openerp-server  --no-database-list
lam a bao
On 2/25/14, 9:51 PM


You can't remove ,because it must select database to load

Is there any way of hiding it by using a module?

on 2/26/14, 6:05 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/25/14, 5:55 PM
Seen: 9444 times
Last updated: 3/16/15, 8:10 AM