콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
13239 화면

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

아바타
취소
베스트 답변

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


아바타
취소
베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
0
2월 20
5006
1
7월 24
1688
1
1월 24
4666
2
9월 23
7029
2
3월 23
2533