Skip to Content

How to Install Third-Party Modules in Odoo

Add third-party applications to your Odoo installation
January 17, 2024 by
How to Install Third-Party Modules in Odoo
Wilfredo Fernando Pastor Avila
| No comments yet

To install a third-party module in Odoo you need hosting that accepts your own code, such as Odoo.sh or your own server: you copy the module folder into the addons path, update the apps list with developer mode on and install it from Apps. In Odoo Enterprise, custom developments require the Custom plan. On Odoo Online you cannot upload third-party modules with Python code; there you customize with Odoo Studio.


The Odoo ERP lets you extend its functionality with custom add-ons developed by third parties (Third Party apps). For an efficient organization, it is important to arrange these add-ons properly within Odoo's directory structure. This article provides a step-by-step guide to adding a new folder to the third-party add-ons directory in Odoo 16.

Identify the correct Odoo directory

The first step is to locate the directory where Odoo stores its add-ons. By default, the add-ons directory in Odoo 16 is usually found in the Odoo installation path. This directory holds all add-ons, including Odoo's core modules and the third-party add-ons you install.

By "Directory" we mean a folder within the set of folders that make up your Odoo installation.

Step 1: Create a new Folder

Navigate to the add-ons directory and create a new folder to hold your third-party add-ons. Choose a meaningful, descriptive name that reflects the purpose or source of the add-ons you plan to store in it. For example, you can name it "ganemo_addons", "community_addons" or "addons_ganemo".

 On Linux you can create a custom add-ons folder here using the following command:

sudo mkdir /../../odoo/<custom_addons>
sudo chown -R odoo:odoo /../../odoo/<addons_ganemo>

Now you need to add the path 'addons_ganemo' to the "Path" in the 'config' file.

Edit 'addons_path' and add the paths of the folders you created.

sudo scp -r <custom module>// root@<ip_address>:/../../odoo/<custom_addons>/

Step 2: Download the add-on files

Get the necessary add-on files from the third-party source. This may involve downloading them from a website or obtaining them from a developer. Make sure you have the complete set of files, which typically includes Python, XML and any other resources or dependencies required.

For example, if you buy a module from the Odoo Apps store, you download a .zip file which, when extracted, gives you access to a folder containing all the module's files. This folder is usually the module itself.

For example, if you buy a module from Ganemo, you will be given access to a folder where you can download compressed files containing Ganemo's modules.

Below is an example showing the compressed file you receive from Ganemo:

When you download and extract the compressed file, you will see one or more folders, and each one contains a module. In the following example, three folders representing three modules are shown:

Each folder contains all the files needed for the add-on.

CAUTION:

What you copy into the "Folder" created in the previous step is the entire module folder. To make sure a folder contains a module, open it and you will find a file called "__manifest__". For example, when I open the "amount_to_text" folder, I see the following:

Since I find a file called "__manifest__", this folder (amount_to_text) is the one containing the module, so I should copy the directory created in STEP 1 above, as explained in the following STEP 3.

For example, if you receive a compressed file (.zip or .rar) that, when extracted, shows a folder and you are not sure whether the module is that folder or the folders inside it, simply check which folder contains the "__manifest__" file.


Step 3: Add module(s) to the new Folder

Move or copy the add-on files you downloaded in STEP 2 into the folder created in STEP 1 inside the add-ons directory. Make sure all the necessary files are present and that the add-on's folder structure stays intact. Maintaining the proper structure is crucial to avoid problems with dependencies or module organization.

Step 4: Update the Odoo add-on list

So that Odoo is aware of the new folder and its add-ons, you need to update the add-on list. Access the Odoo backend with the "Developer" mode enabled and go to the settings menu. From there, select the "Apps" option and click the "Update Apps List" button. This process updates the add-on list, including the newly added folder and its contents.

 

Step 5: Install and configure the add-ons

With the add-on list updated, you can now install and configure the newly added add-ons. With the developer mode active, go to the "Apps" menu, find the add-ons inside the newly created folder and click the "Install" button next to each one. Once installed, access the configuration options the add-ons offer, usually available through the settings menu, and adjust them to suit your business needs.


Step 6: Test and deploy

After installing and configuring the add-ons, it is crucial to thoroughly test their functionality before deploying them to a production environment. Create test scenarios and make sure the add-ons work as expected, interacting smoothly with other modules and meeting your business needs. Once you are satisfied with their performance, you can deploy the third-party add-ons for use by your organization.

Conclusion

By following this step-by-step guide, you can effectively add a new folder to the third-party add-ons directory in Odoo. Keeping your third-party add-ons well organized makes maintenance easier, improves module management and facilitates collaboration with third-party developers. Remember to keep your add-ons updated and run periodic tests to ensure a smooth and efficient experience with Odoo and its extended functionality.

Adding modules requires more advanced knowledge. If you don't know how to do it and don't have anyone to help you, it may be worth having Ganemo manage your server, which includes, among other things, adding modules. To do so, hire our "DevOps Essential" service and request your quote at leads@ganemo.co or via our commercial WhatsApp +1 (828) 672 6150

Types of Odoo modules and where they can be installed

  • Standard modules: they ship with Odoo (Sales, Inventory, Accounting and the rest). You install them from Apps.
  • Third-party modules: published by a developer or a partner, for example on apps.odoo.com. Each listing shows the Odoo version and where it is available (Odoo Online, Odoo.sh or on-premise).
  • Custom modules: built for a specific process in your company and installed on Odoo.sh or on your server.

Before installing a third-party module

  • Check that it matches your Odoo version (a version 17 module will not work on 19).
  • Test it first in a test database or a staging branch, with your real data.
  • Review its dependencies and who will maintain it when you upgrade.

Odoo modules FAQ

Not those with Python code. On Odoo Online you customize with Odoo Studio; for custom or third-party modules you need Odoo.sh or your own server.

In the official store, apps.odoo.com, filtered by your version. Partners and developers who build them also deliver them directly.

Yes, to use Update Apps List after copying the module. Here we explain how to activate developer mode.

Each third-party or custom module must be migrated to the new version before the upgrade. We cover it on Odoo upgrade.

Keep reading

Want to review your case with us? Book a diagnostic session or message us on WhatsApp at +1 (828) 672 6150.

How to Install Third-Party Modules in Odoo
Wilfredo Fernando Pastor Avila January 17, 2024
Share this post
Tags
Archive
Sign in to leave a comment
WhatsApp in Odoo: Website Button, Chatbot and Multichannel Support
A guide to connecting WhatsApp with Odoo: from the contact button to agents that answer after hours and qualify leads