Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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? 



Awatar
Odrzuć

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.

Autor

It works. Thank You!

Powiązane posty Odpowiedzi Widoki Czynność
2
lut 23
13286
E-commerce bug Rozwiązane
3
lut 20
2960
1
mar 15
7287
0
lut 22
1955
2
wrz 18
8745