Search code examples
odooodoo-11

How to choose the default database on odoo


I am using odoo 11 enterprise edition and I use two databases. Each time a visitor uses our website he can choose to use any database

Is there any method to choose the default database?


Solution

  • You can add db_name = your database name to config file. or, You can add -d your_database_name to your command which starts up odoo server.

    When multiple database available, you can limit database list to certain regex expression using db_filter in config file.

    For more detailed information, follow the official documentation Odoo deployment.