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

Hi, I encountered a problem. In the live database, it returns an error when I try to post an expense


Then when I try it in a demo database, there is no error occur. Why is that? Thanks for the answers in advance. Anyway, I'm using odoo10. And also about the odoo config, I have this module inside a folder. It looks like this folder -> module_1 , module_2, etc.... And the error occur in module_2, so it means the config is inside the module?


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

You need to increase the CPU time limit in the odoo config file. By default it is 60.

limit_time_cpu=600 or something else.

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

I'm using odoo10, I saw some posts that uses cpu_limit_time, which of the two is the proper parameter?

limit_time_cpu is the correct parameter. You can find more parameters here:

https://github.com/odoo/odoo/blob/10.0/odoo/tools/config.py

الكاتب

I'm curious, why in my demo database does not have any error occur like the above error in the live database when I just did the same transaction from both of them?

Do you have copy of live database in your local system?

الكاتب

No, We're not allowed to use the database of out client, that is why it is difficult for me to locate the error.

ok production database would have lots of data to process and that would be taking lots of time.

While your demo database does not have lots of data and that is why it is working.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
فبراير 24
24833
1
أغسطس 23
2234
1
يوليو 22
3053
0
يوليو 23
156
2
أبريل 24
29131