googleodoo

Install plugins

NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). To identify your Bitnami installation type and what approach to follow, run the command below:

 $ test ! -f "/opt/bitnami/common/bin/openssl" && echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation."

The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. Refer to the FAQ for more information on these changes.


NOTE: The steps in this section assume that you have logged in to Odoo.com. Log in now, or sign up for new account.

Install plugin on Odoo from the admin panel

You can install modules and addons from the admin panel of the application. To install a new module in Odoo, follow the next steps:

  • Log in to the Odoo administration panel and on the top menu bar, click “Apps”:

    Install plugins from Administration panel

  • In the Apps menu, you will see the Odoo plugin catalog. Search for the plugin you want to install.

    Select an Odoo plugin to install

  • Click the “Install” button in the plugin you want to enable. If you are already logged in Odoo.com the installation will be automatically done. The plugin will appear as “Installed”:

    Install a plugin on Odoo

Manually install plugins on Odoo

If you can’t find the plugin you want to install in the Odoo plugin catalog, you can upload and install a module from the command line. To do so, follow these instructions:

  • Navigate to the Odoo plugin catalog and select the version of the application you have installed (in this case, v10.0):

    Odoo Apps catalog

  • Select the plugin you want to install and download it (make sure that you are downloading a plugin compatible with the current version of Odoo).

    Download an Odoo plugin

  • Log in to the server console. Learn how to connect to the server through SSH.

  • Once you have accessed the server, change to the Odoo addons directory. Depending on your installation type, execute the following commands:

    • Approach A (Bitnami installations using system packages):

        $ cd /opt/bitnami/odoo/addons
      
    • Approach B (Self-contained Bitnami installations):

        $ cd /opt/bitnami/apps/odoo/lib/odoo-VERSION.egg/odoo/addons
      
  • Uncompress the module archive into a single directory and upload the directory to the server. Follow these instructions to upload files to the server with SFTP.

  • Once you upload the module codebase to the addons directory within the Odoo installation directory, make sure that you can manage the uploaded files as the daemon user. Execute the following commands depending on your installation type:

    • Approach A (Bitnami installations using system packages):

        $ sudo chown -R bitnami:odoo MODULE-FOLDER-NAME
        $ sudo chmod -R g+rwX MODULE-FOLDER-NAME
      
    • Approach B (Self-contained Bitnami installations):

        $ sudo chown -R bitnami:daemon MODULE-FOLDER-NAME
        $ sudo chmod -R g+rwX MODULE-FOLDER-NAME
      
  • Log in to the Odoo administration panel and in the top menu bar, click “Settings”:

    Navigate to the Settings section

  • In the right corner, you will find a description of Odoo. Under that information, you will see both the “Activate developer mode” and the “Activate developer mode (with assets)”. Click on any of these links (the “Activate the developer mode (with assets)") is recommended:

    Activate the developer mode

    NOTE: When you have the developer mode activated, you can see a bug icon in the upper right corner of the screen.

    Developer mode activated

  • In the top menu bar, click “Apps”. In the left side menu of the resulting screen, click “Update Apps List”. Click “Update” in the Module Update dialog to start the process.

    Apps menu: update Apps list

  • Click the “Apps” menu item. The plugin should appear in the Apps list:

    Plugin installed

  • Click the “Install” button in the plugin you want to enable. If you are already logged in Odoo.com the installation will be automatically done. The plugin will appear as “Installed”:

    Install a plugin on Odoo

Last modification July 8, 2021