Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2043 Tampilan

I have a question regarding the Odoo modules. I am attempting to install OCA modules using the community version, but it is not working. I clone the module's repository in my addons folder, however the module isn't shown in the apps area. I've heard that some of these modules are dependent on others; therefore, my module won't show up if I don't have one of these? Or how do these OCA components function? 


Additionally, after cloning the repository, I have already restarted Odoo and updated the Apps list.

Avatar
Buang
Jawaban Terbai

Hi,

1. Verify Addons Path and Dependencies: Ensure the module folder is in the addons_path in odoo.conf (e.g., addons_path=/opt/odoo/custom_addons/wms). Check the module’s __manifest__.py for dependencies (e.g., depends: ['stock', 'queue_job']), install Python libraries (pip3 install -r requirements.txt),

2. Check Logs and Module Structure: Review Odoo logs for errors like missing dependencies or syntax issues. Ensure the module folder contains a valid __manifest__.py and isn’t nested in a repository subfolder. Move the module folder to the addons path, restart Odoo, and update the Apps list to make it visible.


Hope it helps

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
7
Apr 17
13280
1
Mar 17
6078
0
Apr 24
1154
7
Mei 21
10904
1
Des 23
4236