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

<!--
    Copyright (C) 2013 Akretion (http://www.akretion.com/)
    @author Alexis de Lattre <alexis.delattre@akretion.com>
    The licence is in the file __openerp__.py
-->

<openerp>

<data noupdate="1"> <!-- noupdate = 1 for the 'active' field -->
<record id="sdd_mandate_expire_cron" model="ir.cron">
    <field name="name">Set SEPA Direct Debit Mandates to Expired</field>
    <field name="active" eval="True"/>
    <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> <!-- don't limit the number of calls -->
    <field name="doall" eval="False"/>
    <field name="model" eval="'account.banking.mandate'"/>
    <field name="function" eval="'_sdd_mandate_set_state_to_expired'" />
    <field name="args" eval="'()'"/>
</record>

</data>
</openerp>
