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)
course odoo database community gettingstarted
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
course odoo database community gettingstarted
Über dieses Forum
  1. Getting Started
  2. Forum

How to create and configure a folder inside the odoo folder to behaves like the addons folder?

Abonnieren

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

Diese Frage wurde gekennzeichnet
2 Antworten
4675 Ansichten
Avatar
Gabriel Sellan

I am an intern at a company and we are using modules from other companies, such as OCA in our system. However, we would like to have a separate folder that works like the addons folder but with the name of the company from which we are using the modules so that it is more organized and facilitates the management of imports. However, for this to work, we need to put the full path to the folder module inside the addons_path in odoo.conf, for example: /home/user/odoo/oca/web. However, this way the file needs to have the path to each module, which makes the file very large and we need to edit it every time we add a new module. Does anyone have a way to just put the path to the oca folder, for example: /home/user/odoo/oca in the addons_path, and it already leaves all the modules cloned inside it to be installed in odoo?


odoo 16.0

1
Avatar
Verwerfen
Avatar
Yahoo Baba Innovations Pvt.Ltd
Beste Antwort

Hello Gabriel Sellan,

I hope you're doing well.


I have shared 3 steps you can use.


Step : 1 Using a simple path.

odoo@odoo ~/workspace/16comminity (16.0) $  ./odoo-bin --addons-path=addons -p 1704 -d test_16


Step : 2 Using a simple path + Add another module path.

odoo@odoo ~/workspace/16comminity (16.0) $  ./odoo-bin --addons-path=addons,/home/odoo/Downloads/report_qweb_element_page_visibility-16.0.1.0.0/ -p 1601 -d db_test_16


Step : 3 Using config file.

odoo@odoo ~/workspace/16comminity (16.0) $ ./odoo-bin -c /home/odoo/workspace/16/Conf/odoo_16.cfg -p 1601 -d test_16


Inside the config : 

addons_path = /home/odoo/workspace/16comminity/addons,/home/odoo/workspace/16enteprice,/home/odoo/Downloads/report_qweb_element_page_visibility-16.0.1.0.0/


Hope this helps!


Thanks & Regards,

Name : Yahoo Baba

Email:  yahoobaba077@gmail.com

1
Avatar
Verwerfen
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Beste Antwort

To manage modules efficiently and keep your odoo.conf file manageable, you can configure Odoo to recognize a parent directory and automatically find modules within it. Here's how to set it up in Odoo 16.0:

1. Organize Your Directory Structure

  1. Create a Directory:
    • Create a parent directory where you will store all your external modules, e.g., /home/user/odoo/oca.
  2. Place Your Modules:
    • Inside this parent directory (oca), you can place all the module folders.

2. Configure Odoo to Use the Parent Directory

  1. Edit odoo.conf:
    • Open the Odoo configuration file (odoo.conf) with a text editor.
  2. Set the addons_path:
    • Modify the addons_path parameter to point to the parent directory. Odoo will then recursively search for modules within this directory and its subdirectories.
    • Example configuration:
      iniCopy codeaddons_path = /home/user/odoo/oca
      
    • This setting tells Odoo to look inside /home/user/odoo/oca and any subdirectories within it to find modules.

3. Ensure Proper Permissions

  • Make sure that the Odoo process has the necessary read permissions for the new directory and its subdirectories.

4. Restart Odoo

  • Restart the Odoo server to apply the changes. Depending on your setup, you might use:
    bashCopy codesudo systemctl restart odoo
    
    or if running manually:
    bashCopy code./odoo-bin -c /path/to/your/odoo.conf
    

5. Update the Apps List

  • Log in to your Odoo instance.
  • Go to the Apps menu and click on Update Apps List to ensure that Odoo detects and lists the modules from the new directory.

Advantages of This Approach:

  • Simplified Management: You only need to specify the path to the parent directory, making the odoo.conf file cleaner and easier to manage.
  • Automatic Detection: Odoo will automatically detect any new modules added to the subdirectories, reducing the need for constant manual updates.

By configuring the addons_path to point to a parent directory, you streamline the process of managing and organizing external modules. This setup will keep your configuration file concise and make module management more efficient.

3
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
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • 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