تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
5035 أدوات العرض

I have installed odoo17 on Ubuntu 22.04. Then I want to install a third party application, I created a separate path—home/odoo/my_addons.

I also found an odoo.conf file in the /etc/odoo directory. But there is no definition of addons_path in this file.I tried to add the following path in this file. 

      addons_path = /usr/lib/python3/dist-packages/odoo/addons,/home/odoo/my_addons

Save the Settings and restart the odoo17 service, Then a system error occurred and the application could not be opened while logging in to odoo17. I tried modifying the path format, such as:

      addons_path = "/usr/lib/python3/dist-packages/odoo/addons,/home/odoo/my_addons"

Still reporting errors and unable to open the application when logging into odoo17. odoo17 can be started normally unless only the default path is retained:

      addons_path = /usr/lib/python3/dist-packages/odoo/addons

Ask everyone, How do I set odoo17 addons path on Ubuntu 22.04 system?

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

  Thank you very much, everyone.There's an error within my modules was the cause of the error!

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

If the issue persists despite correctly configuring the addons path, it's possible that there's an error within one or more modules located in your custom addons folder (/home/odoo/my_addons). Here's what you can do to troubleshoot:


1. Check each module file for syntax errors and ensure correct structure.

2. Test each module individually by disabling them one by one.

3. Verify dependencies and ensure they are properly installed.

4. Review Odoo logs for error messages.

5. Fix any identified issues to resolve the problem.


Hope it helps

الصورة الرمزية
إهمال
أفضل إجابة

Hi,
Can you ensure the odoo running user has access to the newly added directory and there is no technical issues with the modules inside the custom directory

Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
سبتمبر 24
4318
0
أبريل 24
1021
4
مايو 25
1437
2
مايو 25
4843
1
مارس 25
903