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

    <record id="ir_cron_rental_auto_renewal" model="ir.cron">
        <field name="name">Rental: Auto-Renewal (every 2h for short-term grace)</field>
        <field name="model_id" ref="sale.model_sale_order"/>
        <field name="state">code</field>
        <field name="code">model._cron_rental_auto_renewals()</field>
        <field name="interval_number">2</field>
        <field name="interval_type">hours</field>
        <field name="active">True</field>
        <field name="priority">5</field>
    </record>

    <record id="ir_cron_rental_renewal_reminder" model="ir.cron">
        <field name="name">Rental: Renewal Reminders (every 2h)</field>
        <field name="model_id" ref="sale.model_sale_order"/>
        <field name="state">code</field>
        <field name="code">model._cron_rental_renewal_reminders()</field>
        <field name="interval_number">2</field>
        <field name="interval_type">hours</field>
        <field name="active">True</field>
        <field name="priority">10</field>
    </record>

    <record id="ir_cron_rental_marketing_email" model="ir.cron">
        <field name="name">Rental: Purchase Marketing Email (%-based)</field>
        <field name="model_id" ref="sale.model_sale_order"/>
        <field name="state">code</field>
        <field name="code">model._cron_rental_marketing_emails()</field>
        <field name="interval_number">1</field>
        <field name="interval_type">days</field>
        <field name="active">True</field>
        <field name="priority">15</field>
    </record>

    <record id="ir_cron_rental_deposit_refund" model="ir.cron">
        <field name="name">Rental: Security Deposit Refund (3-Day Hold)</field>
        <field name="model_id" ref="sale.model_sale_order"/>
        <field name="state">code</field>
        <field name="code">model._cron_rental_deposit_refunds()</field>
        <field name="interval_number">1</field>
        <field name="interval_type">days</field>
        <field name="active">True</field>
        <field name="priority">5</field>
    </record>

</odoo>
