Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3165 Näkymät

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

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
7
huhtik. 17
13518
1
maalisk. 17
6291
0
huhtik. 24
1286
7
toukok. 21
11030
1
jouluk. 23
4443