Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 24
4220
2
ene 24
1338
1
jul 23
4178
0
feb 23
1875
1
jun 25
769