<?xml version="1.0" encoding="UTF-8"?> <odoo> <record id="cron_helpdesk_ticket_close" model="ir.cron"> <field name="name">Auto Close Helpdesk Ticket</field> <field name="interval_number">1</field> <field name="interval_type">days</field> <field name="numbercall">-1</field> <field name="doall" eval="False" /> <field name="model_id" ref="model_helpdesk_ticket" /> <field name="code">model._run_auto_close_ticket()</field> <field name="state">code</field> </record> </odoo>