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

I've just started trying out Odoo. (v13.0)

I'd like to use docker to create a container that setups up Odoo the way I want it. I've used the official Odoo Docker images to install Odoo and it works well.

However, when I log in to the installed Odoo this way, I need to :

 - log in

 - create the database

 - install each module I want to enable (official, not custom)

I would like to be able to push all of this into the Dockerfile so Odoo opens up configured with the modules I want to enable.

If it matters, I need this to work instead of just using persistence with Docker volumes because I want to be able to collaborate with other members of the organization in determining which subset of modules are useful, and do so in such a way that they just spin up the container and see what it would look like.

Any of the following ways would be fine :

  - Some environment variables which control what gets installed

  - Some parameters in the odoo.conf file which specifies what to enable

  - Some CLI commands I can run once container spins up which triggers the install of modules

Any help moving in this direction would be appreciated.

아바타
취소
작성자

I did see that. I wasn't able to find a list of what the modules are actually called, though, so I wasn't sure if that only applied to custom modules which could be named by folder or python package.

You can find a list in Developer mode when you look in the Apps Menu. They are the names of the folders. Python packages are installed when modules need them via the "external_dependencies" key - learn more at https://www.odoo.com/documentation/13.0/reference/module.html

베스트 답변

Command-line options the first time you run Odoo?

Do you know about:


-i <modules>, --init <modules>

comma-separated list of modules to install before running the server (requires -d).


View the documentation at https://www.odoo.com/documentation/13.0/reference/cmdline.html


아바타
취소
관련 게시물 답글 화면 활동
1
3월 24
929
2
7월 20
3798
1
1월 20
2228
1
12월 19
3126
7
4월 17
12782