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

I created a custom module that updates the partner creation logic for odoo and everything worked fine when I installed this module. However, when I update the logic for the module, odoo does not apply the changes I made, the module always keeps the old logic regardless of whether I restart the server or update the module.

Why does this problem occur and how can it be fixed?

Thank you.

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

Hi,

This issue can occur due to various reasons, including caching, incorrect module update procedures, or issues with your Odoo environment.

The issue you're experiencing is likely due to Odoo's caching mechanism, which is designed to improve performance by storing compiled Python code and other resources in memory. When you update your custom module, Odoo may not automatically detect the changes and apply them.


The following steps will help you to resolve your problem:


1)Clear caches.

2)Update the module properly

3)Reinstall the module if necessary.


Hope it helps

الصورة الرمزية
إهمال
الكاتب

Thank you for your response,
Do you mean I should clear the cache of the module that needs updating or clear the cache of the entire server?

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 15
4966
2
مارس 15
4958
2
أغسطس 22
24574
1
مارس 18
4620
2
مارس 15
5882