<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="ir_cron_auto_compute_draft_batch" model="ir.cron">
        <field
            name="name"
        >Asset Compute Batch; Post draft batches with auto_compute set to True up to today</field>
        <field name="interval_number">1</field>
        <field name="interval_type">days</field>
        <field name="numbercall">-1</field>
        <field
            name="nextcall"
            eval="(DateTime.now().replace(hour=2, minute=0) + timedelta(days=1)).strftime('%Y-%m-%d %H:%M:%S')"
        />
        <field name="doall" eval="False" />
        <field name="model_id" ref="model_account_asset_compute_batch" />
        <field name="code">model._autocompute_draft_batches()</field>
        <field name="state">code</field>
    </record>
</odoo>
