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
4584
2
jan 24
1428
1
júl 23
4324
0
feb 23
1980
1
jún 25
954