Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
13050 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Feb 20
4908
1
Jul 24
1560
1
Jan 24
4428
2
Sep 23
6921
2
Mar 23
2390