跳至內容
選單
此問題已被標幟
1 回覆
2611 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
7
4月 17
13391
1
3月 17
6199
0
4月 24
1231
7
5月 21
10987
1
12月 23
4357