Skip to Content
Menu
This question has been flagged

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?

Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
nov 24
5581
2
jan 24
1643
1
júl 23
4633
0
feb 23
2223
1
jún 25
1314