Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5459 Visualizzazioni

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

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
7
apr 17
13803
1
mar 17
6679
0
apr 24
1567
7
mag 21
11275
1
dic 23
4766