Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

Odoo 16 Community Docker Setup how to add Addons Folder

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
addonsdockerodoo16features
4 Vastaukset
31097 Näkymät
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
Hylkää
Valexntin
Tekijä

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
Paras vastaus

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
Hylkää
Avatar
Jort de Vreeze
Paras vastaus

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
Hylkää
Avatar
Valexntin
Tekijä Paras vastaus

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
Hylkää
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
Paras vastaus

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
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Adding a new field to an existing view in an addon. Ratkaistu
addons odoo16features
Avatar
Avatar
1
helmik. 23
7740
Odoo + Traefik + SSL Mixed Content Error on Editor
mixed docker odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
lokak. 24
9492
Translation Problem odoo 16 on docker
translations docker odoo16features
Avatar
Avatar
1
heinäk. 23
3299
odoo16 windows addons installation Ratkaistu
windows addons odoo16features
Avatar
Avatar
2
marrask. 22
6736
odoo 13 can't find stock module in docker container
stock addons docker
Avatar
0
elok. 20
3686
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Brändiominaisuudet
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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