Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Odoo 16 Community Docker Setup how to add Addons Folder

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
addonsdockerodoo16features
4 Antworten
30533 Ansichten
Avatar
Valexntin

Hello community!

How can I install custom addons in odoo16 CE docker setup?

I cant find the odoo.conf file on my server and im not sure where to deploy these modules? 

Thanks for your help!

0
Avatar
Verwerfen
Valexntin
Autor

Hi Savya Sachin,

big thanks for your fast response! I am not able to do it right now. Could you maybe help further?

This is the docker compose file:

version: '3'
services:
odoo:
image: odoo:16.0
env_file: .env
depends_on:
- postgres
ports:
- "127.0.0.1:8069:8069"
volumes:
- data:/var/lib/odoo
postgres:
image: postgres:13
env_file: .env
volumes:
- db:/var/lib/postgresql/data/pgdata

volumes:
data:
db:

The docker-compose.yml file is in root/odoo. I created a folder named "addons" under root/odoo so --> root/odoo/addons .

How can I link this correctly? I tried a few things but got error messages from the server like:

"ERROR: Named volume "odoo/addons:/mnt/extra-addons:rw" is used in service "odoo" but no declaration was found in the volumes section."

"docker: Error response from daemon: Cannot link to /odoo_postgres_1, as it does not belong to the default network."


Thanks!

Savya Sachin

I have updated the answer please check

Avatar
MAMIA Patrick
Beste Antwort

hello 

In your config you should make sure that you have a "odoo.conf" file into you "config" folder and that odoo.conf could have this configuration

[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
0
Avatar
Verwerfen
Avatar
Jort de Vreeze
Beste Antwort

Hi,

Did you add the addons path in the odoo.conf file? If the odoo.conf is not properly configured, it won't detect the modules located in your extra-addons path.

Open the odoo.conf file located in your ./config volume (i.e., /etc/odoo in your container). If the odoo.conf does not exist, create it. Make sure you add the following line to the odoo.conf file under [options]:

[options]
addons_path = /mnt/extra-addons

Restart the container and update the app list. Now the modules in the extra-addons folder should appear in the app list. For more information about setting up Odoo with Docker check out my blog post. I hope this helps.


0
Avatar
Verwerfen
Avatar
Valexntin
Autor Beste Antwort

I have tried to follow your steps but it is not working yet. I also looked at the youtube video, blog and forum but I dont get it.  My Docker compose now looks like this:



version: '3'
services:
odoo:
image: odoo:16.0
env_file: .env
depends_on:
- postgres
ports:
- "127.0.0.1:8069:8069"
volumes:
- data:/var/lib/odoo
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons
postgres:
image: postgres:13
env_file: .env
volumes:
- db:/var/lib/postgresql/data/pgdata

volumes:
data:
db


I restarted the container and updated the app list. 

0
Avatar
Verwerfen
medmars

Hi,
I have the same issue right now did you find the solution ?

kal

Hi,
I don't know if you still have the problem, but have you checked the folder permissions to authorize the docker user ?

Avatar
Savya Sachin
Beste Antwort

Hi,

If you cannot find the odoo.conf file on your server, which means you use a Docker setup. you can try the following way to add custom addons.

create a folder for the custom_addons and mount the folder as a volume in the odoo container by adding the following line ​to docker-compose.yml file under volumes section:

volumes:
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons   

Then create the odoo container (or update it). In your computer go to "extra-addons" folder inside your docker folder and put there the custom odoo modules. 

​Restart the container -> docker start db_name

​Now in the Apps -> click update apps list and now you can see the custom apps

You can check this blog and forum for further help regarding odoo docker setup

please check this video also

Thanks

 

0
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Adding a new field to an existing view in an addon. Gelöst
addons odoo16features
Avatar
Avatar
1
Feb. 23
7573
Odoo + Traefik + SSL Mixed Content Error on Editor
mixed docker odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
Okt. 24
9322
Translation Problem odoo 16 on docker
translations docker odoo16features
Avatar
Avatar
1
Juli 23
3195
odoo16 windows addons installation Gelöst
windows addons odoo16features
Avatar
Avatar
2
Nov. 22
6574
odoo 13 can't find stock module in docker container
stock addons docker
Avatar
0
Aug. 20
3584
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Ausbildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now