digest/data/ir_cron_data.xml

15 lines
671 B
XML
Raw Permalink Normal View History

2024-05-03 15:04:23 +03:00
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<record forcecreate="True" id="ir_cron_digest_scheduler_action" model="ir.cron">
<field name="name">Digest Emails</field>
<field name="model_id" ref="model_digest_digest"/>
<field name="state">code</field>
<field name="code">model._cron_send_digest_email()</field>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="nextcall" eval="(DateTime.now() + timedelta(hours=2)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
</odoo>