Back to Top

How to create a module in Odoo

Updated 29 November 2023

Create a new module in Odoo

Odoo is basically a web-based open source & modular-based framework/software which include multiple business solutions like “CRM”, “POS”, “E-Commerce”, “ERP”, “Manufacturing”, “Inventory Management”, “Billing & Accounting” and “Project Management”.

Introduction to Odoo module

Describe the importance of module in Odoo

Odoo module is a set of business logic which helps to enhance the existing functionality or add some new functionality in Odoo.

Where to create a new module in Odoo?

Odoo is a modular-based framework and all the core modules are present inside the Odoo Apps. You can find addons path inside the Odoo configuration file(If you are managing) and inside the configuration file you can find addons path next to “addons_path


or you can use below command to find Odoo addons path,

ps  aux | grep odoo

You can place your custom module inside the core addons or you can create custom addons path and define inside the configuration file then place your module inside the custom addons path.

Structure of Odoo Module

  • Business Objects (Contains the Python Classes in Python Files)
  • Object Views (Contains the business object for UI).
  • Data Files
    • Views
    • Report
    • Demonstration Files
    • Data Files
    • Security FIles (For Access Rights & Rules)
    • Email/Qweb Templates 
    • Many More.
  • Static Web (Contains the module documentation files, CSS, JQuery, etc.
  • Controllers (To manage backend/frontend actions).

Now, for example, we are creating a module which technical name is “‘webkul_elearning_module

Start your headless eCommerce
Find out More

Required Files to Create a Basic Module


What is a Manifest file?

This file “” helps to specify the metadata of the module and also helps to show the module inside the Odoo app list. All the metadata is associated inside the dictionary. 

  • Name (Module Name)
  • Description (Contains the module long description)
  • Depends (Contains the list of dependent modules)
  • And there are many more.

NOTE: only helps to show the module inside Odoo app list but when you will try to install module then you will get “ImportError: No module named ‘webkul_elearning_module’

So in order to make your module installable, you also need to define the “” file.

What is an file?

‘’ is a Python module descriptor file. It works like a python module that runs from the start of the program. Basically it helps to import Python packages/files which need to be loaded at Odoo.


These two files are enough to make modules installable in Odoo.

Steps to create/install the module at Odoo

  • Create a folder then set the technical name for the module.
    • Make sure the module technical name should not contain any spaces eg: “webkul_elearning_module”.
  • Then create an “” file inside the folder,
    • You can define python packages/files inside this file.
  • Then create a “” file,
    • You can define the module name(If not define the name will be ‘Unnamed’) and some other metadata.
  • Now login to your Odoo.
  • Then open developer mode at your Odoo from Odoo “settings”.
  • Then go to the “Apps” menu.
  • Inside the “Apps” menu you will see a button “Update App List”.
  • Click on that button.
  • Then check the module using the module name.
  • After that, you will find your module inside the app list.
  • Then click on the “install” button in order to install your module at Odoo end.

So this is how you can create a new module in Odoo and install modules at Odoo end.

You can also check some other informative blogs

We Would Love to Hear From You!

Hope you find the blog informative! Please feel free to share your feedback in the comments below.

Also, check webkul store page to go through our odoo apps. As an odoo Partner, we also provide odoo customization services, You may Hire Odoo Developers for odoo ERP development services.

If you still have any issues/queries then please raise a ticket at

For any doubt contact us at [email protected].

Thanks for paying attention!!

🙂 😊

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


  • Madhav Parikh
    • Ashish Singh (Moderator)
  • romenas dalila
    • Ashish Singh (Moderator)
  • eliijan
    • Ashish Singh (Moderator)
  • ahmad ajaz
    • Ashish Singh (Moderator)
  • Abdul Rafay
    • Anisha Bahukhandi (Moderator)
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home