upgrade-cron-numbercall (U1804)#
A scheduled action sets numbercall or doall, removed in Odoo 18.0.
Applies to Odoo 18.0 and later.
What it does#
Reports <field name="numbercall"> and <field name="doall"> in ir.cron
records.
Why is this bad?#
Odoo 18.0 removed both fields: installing the record fails with “Invalid field”. Scheduled actions now always run until they are deactivated.
Fix safety#
Safe for doall and for numbercall -1 (run forever): the field is
removed. Unsafe for another numbercall: an action meant to run a limited
number of times now runs until deactivated.