Creating a new database

This dialog box can be used to create a new database instance that will be handled by the current Odoo server:

  1. In the database management screen, click on the Create Database button at the bottom of the screen:
  1. Fill in the form, as follows:
    • Master Password: The master password for this instance.
    • Database Name: Input the name of the database you wish to create.
    • Password: Type the password you want to set for the admin user of the new instance.
    • Language: Select the language you wish to be installed by default in the new database in the drop-down list.
    • Country: Select the country of the main company in the drop-down list.
    • Load demonstration data: Check this box to have demonstration data. This is useful to run interactive tests or set up a demonstration for a customer, but it should not be checked for a database meant to contain production data.
If you wish to use the database to run the automated tests of the modules (refer to Chapter 8, Debugging and Automated Testing), you need to have the demonstration data, as the vast majority of the automated tests in Odoo depend on these records to run successfully.
  1. Click on the Continue button, and wait a little until the new database is initialized. You will then be redirected to the instance, connected as the administrator.
TroubleshootingIf you are redirected to a login screen, this is probably because the --db-filter option was passed to Odoo and the new database name did not match the new database name. Note that the odoo-bin start command does this silently, making only the current database available. To work around this, simply restart Odoo without the start command, as shown in the first recipe of this chapter. If you have a configuration file (refer to the Storing the instance configuration in a file recipe later in this chapter), then check that the db_filter option is unset or set to a value matching the new database name.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.94.249