Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Odoo 16 Community Docker Setup how to add Addons Folder

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
addonsdockerodoo16features
4 Risposte
31075 Visualizzazioni
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
Abbandona
Valexntin
Autore

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
Risposta migliore

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
Abbandona
Avatar
Jort de Vreeze
Risposta migliore

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
Abbandona
Avatar
Valexntin
Autore Risposta migliore

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
Abbandona
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
Risposta migliore

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
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Adding a new field to an existing view in an addon. Risolto
addons odoo16features
Avatar
Avatar
1
feb 23
7737
Odoo + Traefik + SSL Mixed Content Error on Editor
mixed docker odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
ott 24
9488
Translation Problem odoo 16 on docker
translations docker odoo16features
Avatar
Avatar
1
lug 23
3298
odoo16 windows addons installation Risolto
windows addons odoo16features
Avatar
Avatar
2
nov 22
6727
odoo 13 can't find stock module in docker container
stock addons docker
Avatar
0
ago 20
3681
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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