Updating a custom odoo module with docker-compose

I am running an Odoo instance on my server using docker-compose. I created a file docker-compose.yml

as described here :

version: '2'
services:
  web:
    image: odoo:10.0
    depends_on:
      - db
    ports:
      - "8069:8069"
    volumes:
      - odoo-web-data:/var/lib/odoo
      - ./config:/etc/odoo
      - ./beralsa/codebis_addons:/mnt/extra-addons
    #command: -- -d odoo -u codebis_purchase
  db:
    image: postgres:9.4
    environment:
      - POSTGRES_PASSWORD=odoo
      - POSTGRES_USER=odoo
      - PGDATA=/var/lib/postgresql/data/pgdata
    ports:
      - "5432:5432"
    volumes:
      - odoo-db-data:/var/lib/postgresql/data/pgdata
volumes:
  odoo-web-data:
  odoo-db-data:

      

I created a custom module and it worked well. However, I cannot update it. I tried to use command

for transfer -d odoo -u codebis_purchase

but was not successful. I also tried putting update = codebis_purchase

in a file odoo.conf

, but it also failed.

Any guidance would be greatly appreciated. Let me know if you need more information.

Thank!

+3


source to share





All Articles