Skip to Content
Menu
This question has been flagged
2 Replies
10574 Views

hi, i install odoo 15 community version using docker, may i know how i can install extra modules with terminal ubuntu?

Avatar
Discard
Best Answer

Hello

first edit your docker-compose.yml file to customize the odoo container and add:

volumes:
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons   

Then create the odoo container (or update it). In your computer go to "extra-addons" folder inside your docker folder and put there the custom odoo modules. 

Also you can create it using "scaffold" command of odoo-bin accesing to bash commands

odoo scaffold custom_module_name path/to/odoo/extra-addons

example:

odoo scaffold catur_module /mnt/extra-addons


Avatar
Discard
Best Answer

Hi,

To install extra modules in Odoo 15 using the terminal in Ubuntu, you can follow these steps:
First, make sure that you have the odoo-bin command available in your terminal. You can check this by running the following command:

odoo-bin -h

If the odoo-bin command is not found, you may need to add it to your PATH. You can do this by adding the following line to your ~/.bashrc file:

export PATH=$PATH:/path/to/odoo/odoo-bin

Next, navigate to the directory where your Odoo installation is located. You can do this by 
running the following command:

cd /path/to/odoo

Once you are in the Odoo directory, you can use the odoo-bin command to install extra modules. To install a module, you will need to specify the name of the module and the database that you want to install it on. 

For example:

odoo-bin -d mydatabase --install my_module

Replace mydatabase with the name of your database, and my_module with the name of the module that you want to install

If the module requires any dependencies, you will need to install them as well. You can do this by specifying the names of the dependencies as additional arguments to the odoo-bin command. 

For example:

odoo-bin -d mydatabase --install my_module dependency1 dependency2

Regards

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 20
4026
1
Jul 24
341
1
Jan 24
1681
2
Sep 23
5703
2
Mar 23
1022