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

I recently came across a post whose answer stated that numbercall​ is has been removed in Odoo 18 for automated (cron) jobs. 

Is there an alternative to numbercall​ in Odoo 18. If not, how can its functionality be mimicked for automated jobs?

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

Hi,

You can add an execution counter and increment it after each call, stopping further calls once the counter reaches the specified limit. Alternatively, check if any other conditions are met after a certain number of calls to prevent subsequent executions. Use these conditions in the code

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 24
4625
2
يناير 24
1438
1
يوليو 23
4342
0
فبراير 23
2008
1
يونيو 25
959