Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2031 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
7
kwi 17
13280
1
mar 17
6074
0
kwi 24
1154
7
maj 21
10904
1
gru 23
4236