<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">

        <record id="cron_sync_remote_inventory" model="ir.cron">
            <field name="name">Fusion Inventory: Sync Remote Inventory</field>
            <field name="model_id" ref="fusion_inventory.model_fusion_sync_config"/>
            <field name="state">code</field>
            <field name="code">model._cron_sync_inventory()</field>
            <field name="interval_number">30</field>
            <field name="interval_type">minutes</field>
            <field name="active">True</field>
        </record>

        <record id="cron_expire_bookings" model="ir.cron">
            <field name="name">Fusion Inventory: Expire Stale Bookings</field>
            <field name="model_id" ref="fusion_inventory.model_fusion_inventory_booking"/>
            <field name="state">code</field>
            <field name="code">model._cron_expire_bookings()</field>
            <field name="interval_number">15</field>
            <field name="interval_type">minutes</field>
            <field name="active">True</field>
        </record>

        <record id="cron_scan_discrepancies" model="ir.cron">
            <field name="name">Fusion Inventory: Scan Discrepancies</field>
            <field name="model_id" ref="fusion_inventory.model_fusion_inventory_discrepancy"/>
            <field name="state">code</field>
            <field name="code">model._cron_scan_discrepancies()</field>
            <field name="interval_number">1</field>
            <field name="interval_type">days</field>
            <field name="active">True</field>
        </record>

    </data>
</odoo>
