跳至内容
菜单
此问题已终结

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
4931
2
1月 24
1478
1
7月 23
4421
0
2月 23
2047
1
6月 25
1055