Elfadil Sulieman
Elfadil Sulieman

Reputation: 65

How I can add new module to odoo 15

I am new to Odoo and I need to know what is the basic steps of adding a new module. More specifically I need to know how to add custom modules to the addons-path.

In Odoo document they explain this step as this

$ ./odoo-bin --addons-path=../custom,../enterprise/,addons

but did not work for me.

Upvotes: 1

Views: 780

Answers (2)

Siddharth Tarpada
Siddharth Tarpada

Reputation: 130

If you are not getting your custom module in Odoo after adding the path then you can try to add the full path of your folder into addons-path.

To get the full path of your custom folder just right-click on the folder and go to properties and find the path of your folder.

Also, you have to make sure to Apply the Update App list in your Odoo App Dashboard after restarting the server with custom addons.

Upvotes: 2

reyhane janboori
reyhane janboori

Reputation: 341

For adding a new module you should do these steps:

  1. Build your module with your written code or scaffold command.
  2. Add the module path in your config file at addons-path = '',''
  3. Change your URL like this: http://localhost:8091/web?debug=1
  4. Go to apps and from up tabs
  5. Select update app list and refresh your page.
  6. Now you can see your module in the apps.

Upvotes: 3

Related Questions