Updated on 2026-08-27 GMT+08:00

Using Odoo to Build an ERP System (Historical Version)

Scenarios

Odoo is an open-source ERP/CRM software that integrates a comprehensive suite of applications for managing all aspects of your business, including procurement, inventory, finance and accounting, marketing, manufacturing, human resources management, service support, e-commerce, and website building, achieving fully automated service processes. FlexusL provides an Odoo application image running on Ubuntu 24.04 and deployed with Docker. The image comes pre-installed with Nginx, pgAdmin, and Docker. This section describes how to use Odoo to build an ERP system.

This practice applies to FlexusL instances with an Odoo application image purchased before August 28, 2026. For best practices of the new image version, see Using Odoo to Build an ERP System.

To update the image version, change the OS. This operation will clear the data on the original system disk. Back up the data in advance.

Prerequisites

You have purchased a FlexusL instance with a legacy Odoo application image.

Step 1: Configure Security Groups

Add inbound security group rules to ensure that the application preinstalled in the image can be accessed.

  1. Log in to the FlexusL console and click the target resource card or instance name to go to the instance details page.
  2. In the navigation pane on the left, choose Cloud Servers and click the target server name to view its details.

  3. On the Security Groups tab, click Add Rule to add the rules listed in the following table.

    The following only lists common rules. You can add more rules as needed.

    Table 1 Security group rules

    Priority

    Action

    Type

    Protocol & Port

    Source

    Description

    1

    Allow

    IPv4

    TCP: 80

    0.0.0.0/0

    Specifies the internal forwarding port of application images

    1

    Allow

    IPv4

    TCP: 9001

    0.0.0.0/0

    Allows external access to the application dashboard.

Step 2: Reset the Password and Log In to the FlexusL Instance

This section describes how to log in to a FlexusL instance. A FlexusL instance does not have an initial password. After creating a FlexusL instance, set a password for the FlexusL instance before logging in to it.

  1. In the Image area on the Overview page of the FlexusL console, click Access to go to the application dashboard and check whether the application has been up and running. If yes, go to the next step.

    Wait for several minutes until the application is up and running. Then, you can perform operations such as restarting or stopping the instance, or resetting the password. Otherwise, the initial password may become invalid and you cannot log in to the application dashboard.

    Figure 1 Access to the application dashboard

    After the application is started, the initialization wizard page of the dashboard is displayed.

    Figure 2 Initialization wizard page of the Odoo dashboard

    If the dashboard is not properly displayed, check the following causes:

    • The port for accessing the dashboard is not enabled. Enable it as needed.
    • The dashboard is being started. Try again later.
  2. Locate the resource card and choose > Reset Password. Alternatively, in the list view, click Reset Password in the Operation column to reset the password for the FlexusL instance.

    A FlexusL instance does not have an initial password. Set a password for the FlexusL instance before logging in to it. For details, see Resetting the Password for a FlexusL Instance.

    Figure 3 Resetting a password
  3. Locate the resource card and click Remote Login. Alternatively, in the list view, click Remote Login in the Operation column. In the displayed dialog box, click VNC Login and enter the username and password as prompted to log in to the FlexusL instance. For more login methods, see Login Modes.

    The username is root, and the password is the one you set in the previous step.

Step 3: Initialize Odoo

Application images use code-based Ubuntu. They provide graphical user interfaces to make your operations easier. You need to initialize the application dashboard upon the first login. Then you can directly log in to the dashboard from the FlexusL console afterwards.

  1. On the Overview page, click Access in the Dashboard field in the Image area.

    If the dashboard is not properly displayed, check the following causes:

    • The port for accessing the dashboard is not enabled. Enable it as needed.
    • The dashboard is being started. Try again later.
  2. Configure the parameters and click Create database.

    If you have had a backup database on your local device, click or restore a database.

    Figure 4 Initialization wizard page of the Odoo dashboard
    Table 2 Parameter descriptions

    Parameter

    Description

    Master Password

    The system automatically generates a database master password. You can change it but be sure to remember it.

    NOTE:

    The database master password will be asked for future operations on databases, so please keep it safe.

    Database Name

    Specifies a database name.

    Email/Password

    Specifies the email address and password for the administrator to log in to Odoo. Please keep it safe.

    Phone number

    Specifies the telephone number of the administrator.

    Language

    Specifies the language you want to use on the management console.

    Country

    Specifies the country or region where you are located.

    Demo data

    After this option is selected, data samples are automatically generated for the created database.

  3. Enter the email address and password, and click Log in.

    The management console is displayed.

After the Odoo application is initialized, you can deploy your applications on the dashboard.

Step 4: Deploy Odoo

  1. Click in the upper left corner and choose Settings.
  2. Add a user.
    1. Click New in the upper left corner.
    2. After the user is added, click the username to view or modify the username, email address, access permissions, and preferences.

      The email address must be unique. If you enter a name that already exists, the message indicating the operation cannot be completed because you cannot have two users with the same login will be displayed.

  3. Add a company.
    1. Choose User & Companies > Companies, click New, and enter the company name and general information.

    2. Click New in the upper right corner.

      After the company is added, you can click the company name to view or modify the basic information about the company.

Click the administrator avatar in the upper right corner.

  • Click Documentation to obtain the official Odoo guide.
  • Click Support to go to the Odoo official website and learn more about Odoo products.
  • Press Shortcuts CTRL+K to set the shortcut key.
  • Click Preferences and set administrator preferences and account security information.
  • Click My Odoo.com account to go to the Odoo login page.

On the Odoo login page, click Manage Databases to access the Odoo database manager.

You can access the Odoo login page:

  • From the FlexusL management console. For details, see 1.
  • By selecting the administrator avatar in the upper right corner and clicking Log out, if you have logged in to Odoo.
  • (Optional) Set Master Password
    If you did not change the database master password when initialing Odoo, you can reset a master password that is easy to remember. The master password is required when you create, delete, dump, or restore databases. Please keep it safe.
    1. Click Set Master Password to set a new master password.

    2. Click Continue to save the new master password.
  • Create Database

    Odoo supports multi-company management, where creating a database is equivalent to creating a company. Multiple companies can share a single Odoo instance, with users logging in through different accounts without interfering with each other.

    1. Click Create Database and set basic information.

    2. Click Continue.
    3. Click Select, select Database2, and enter the email and password.

    4. Click Log in to log in to the management page of Database2.
  • Backup Database
    1. On the database management page, click Backup.
    2. On the Backup Database page, enter the master password, select a backup format, and click Backup.

      After the backup is completed, the system will automatically download the database backup file.

  • Duplicate Database

    The data of a company can be duplicated and used as the data of a new enterprise.

    1. On the database management page, click Duplicate.
    2. Enter the master password, set a new database name, and click Continue.

      After the duplication is successful, the duplicated database will be displayed in the database management column.

  • Restore Database

    After a database is deleted, it can be restored using backup data.

    1. Click Restore Database.
    2. Enter the master password, select the backup file, set the database name, and click Continue.

      After the restoration is successful, the restored database will be displayed in the database management column.