fix(fusion_plating_jobs): drop ir.cron numbercall/doall — removed in Odoo 19
Caught during entech deploy of the Phase 2 auto-pause cron. Odoo 19 ir.cron no longer accepts numbercall or doall fields; the load fails with: ValueError: Invalid field 'numbercall' in 'ir.cron' Removed both from ir_cron_autopause_stale_steps. The other crons in the same file (nudge stale paused / in_progress) already used the minimal field set — matching that pattern now. Also added a CLAUDE.md section so future-Claude doesn't reintroduce the speculative fields. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,8 +44,6 @@
|
||||
<field name="code">model._cron_autopause_stale_steps()</field>
|
||||
<field name="interval_number">30</field>
|
||||
<field name="interval_type">minutes</field>
|
||||
<field name="numbercall">-1</field>
|
||||
<field name="doall" eval="False"/>
|
||||
<field name="active" eval="True"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user