Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Odoo 16 Community Docker Setup how to add Addons Folder

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
addonsdockerodoo16features
4 Răspunsuri
31070 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
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

Imagine profil
MAMIA Patrick
Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Jort de Vreeze
Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Valexntin
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
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 ?

Imagine profil
Savya Sachin
Cel mai bun răspuns

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
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Adding a new field to an existing view in an addon. Rezolvat
addons odoo16features
Imagine profil
Imagine profil
1
feb. 23
7735
Odoo + Traefik + SSL Mixed Content Error on Editor
mixed docker odoo16features
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
oct. 24
9486
Translation Problem odoo 16 on docker
translations docker odoo16features
Imagine profil
Imagine profil
1
iul. 23
3298
odoo16 windows addons installation Rezolvat
windows addons odoo16features
Imagine profil
Imagine profil
2
nov. 22
6725
odoo 13 can't find stock module in docker container
stock addons docker
Imagine profil
0
aug. 20
3679
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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