Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3368 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



Avatar
Zrušit

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

Autor


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

Related Posts Odpovědi Zobrazení Aktivita
4
pro 24
16673
4
pro 23
45810
1
led 23
3613
1
bře 24
6392
1
úno 21
2738