ir_cron_demo.xml 1010 Bytes
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?xml version="1.0" encoding="utf-8"?>
<!--
  scheduler_error_mailer for Odoo
  Copyright (C) 2012-2013 Akretion Sébastien BEAU,David Beal,Alexis de Lattre
  Copyright (C) 2016 Sodexis
  The licence is in the file __openerp__.py
-->

<odoo>
    <data noupdate="1">

        <record id="test_scheduler_error_mailer" model="ir.cron">
            <field name="name">Test Scheduler Error Mailer</field>
            <field name="active" eval="False"/>
            <field name="user_id" ref="base.user_root"/>
            <field name="interval_number">1</field>
            <field name="interval_type">hours</field>
            <field name="numbercall">-1</field>
            <!-- don't limit the number of calls -->
            <field name="doall" eval="True"/>
            <field name="model">ir.cron</field>
            <field name="function">_test_scheduler_failure</field>
            <field name="email_template_id" ref="scheduler_error_mailer.scheduler_error_mailer"/>
        </record>

    </data>
</odoo>