跳至內容
選單
此問題已被標幟

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
11月 24
4732
2
1月 24
1462
1
7月 23
4370
0
2月 23
2030
1
6月 25
989