تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3472 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة
I already have my instance installed and configured through the terminal but I can't find the docker directories on my mac m1



الصورة الرمزية
إهمال

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

الكاتب


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

المنشورات ذات الصلة الردود أدوات العرض النشاط
4
ديسمبر 24
16836
4
ديسمبر 23
46091
1
يناير 23
3748
1
مارس 24
6558
1
فبراير 21
2817