Limiting the databases shown in the database's list on the web client

Asked by Kevin Beckford

How could one only show selected databases in the web client? For example to show


but not

Is this possible, and if so how would I do that?

Question information

English Edit question
Odoo Web Client Edit question
No assignee Edit question
Solved by:
Kevin Beckford
Last query:
Last reply:
Revision history for this message
Nhomar - Vauxoo (nhomar) said :

Change the user_db to the database that you need "hide" to an user_id
diferent to the user_db what is runing your server.

If you want to reuse this db from other instance of server you will ned to
change this attribute to tables too! be care!.

For do that please refer Postgresql Documentation!


Revision history for this message
Kevin Beckford (chiggsy) said :

There is no way from within openerp to do this?

Revision history for this message
Parthiv Patel (parthiv-patel-deactivatedaccount) said :


You can limit the list of visible databases in web client by configuring selected_dbs = [ ] in configuation file of web client.


Revision history for this message
Kevin Beckford (chiggsy) said :

Ok that makes sense, I did see that option in the web client, but configure it in what way? Is it what it says, a simple list of databases I want to see? Or can I say which ones I do not want to see?

Revision history for this message
Kevin Beckford (chiggsy) said :

Ok, I grepped my way through the code , found it in this file:


Line 56 has the invocation, seems I can specifiy a list of db's of my own to show, or get them via rpc from the server. I guess that'll have to do.