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

v13

I created odoo container from docker-compose fille. 

docker-compose.yml:

version: '3.7'
services:
  web:
    build: ./build
    depends_on:
      - mydb
    ports:
      - "18283:8069"
    environment:
      - HOST=mydb
      - USER=myuser
      - PASSWORD=mypassword
    restart: always
    #    volumes:
    # - ./config:/etc/odoo
    # - ./extra-addons:/mnt/extra-addons
    #    command: odoo -u mymodule
   mydb:
     image: postgres:12.1
     environment:
       - POSTGRES_DB=postgres
       - POSTGRES_PASSWORD=mypassword
       - POSTGRES_USER-myuser
     restart: always

inside build directory I have code from https://github.com/odoo/docker v13

Odoo works great, but I have problem with creating module.

I can't find them in Apps Odoo Search starting page. 

After docker-compose up

I typed: 

docker exec --user root -it <id_web_container> bash

> odoo scaffold <mymodule> /mnt/extra-addons/

I see in the /mnt/extra-addons/ directory that I have directory with <mymodule> name. It's Ok. 

I made it before create database in odoo and after this. Nothing changed.

I tried odoo -u <mymodule>.

I tried restart database and web containers and nothing helped. 

Any ideas? 



아바타
취소

In Odoo interface, Activate Developer mode, then Go to Applications =>update application list => Click on Update in the Pop-up.

Go back and check if your module appears in Apps Odoo.

Hope this helps.

작성자

It works. Thank You!

관련 게시물 답글 화면 활동
2
2월 23
13794
E-commerce bug 해결 완료
3
3월 20
3190
1
3월 15
7680
0
2월 22
2203
2
9월 18
9105