Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3462 Visualizzazioni

How do I access odoo directories to add custom modules? runs with Docker on Mac M1

Avatar
Abbandona
Risposta migliore

You have to specify a volume or bind mount for you addons, for example:

volumes:
- config:/etc/odoo
- extra-addons:/mnt/extra-addons
- data:/var/lib/odoo

In your /etc/odoo/odoo.conf add the following:

[options]
addons_path = /mnt/extra-addons

After this restart your container and you should be able to install custom addons. For more information you can also check out my blog post about this topic.

I hope this helps.

Avatar
Abbandona
Autore Risposta migliore
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Abbandona

Your Docker volumes can usually be found under /var/lib/docker/volumes, but I don't know if this also applies for Mac

Autore


Working on linux I find them in that location but on my MAC M1 they are not there and I can't find them

Post correlati Risposte Visualizzazioni Attività
4
dic 24
16816
4
dic 23
46051
1
gen 23
3743
1
mar 24
6552
1
feb 21
2813