Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
course odoo database community gettingstarted
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
course odoo database community gettingstarted
Mengenai forum ini
  1. Getting Started
  2. Forum

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

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
2 Replies
4678 Tampilan
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
Buang
Avatar
Yahoo Baba Innovations Pvt.Ltd
Jawaban Terbai

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
Buang
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Jawaban Terbai

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
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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