bank-payment/account_banking_sepa_direct_debit/data/mandate_expire_cron.xml
2021-03-12 17:21:19 +01:00

19 lines
805 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2013-2020 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<flectra noupdate="1">
<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="model_id" ref="model_account_banking_mandate" />
<field name="state">code</field>
<field name="code">model._sdd_mandate_set_state_to_expired()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="user_id" ref="base.user_root" />
</record>
</flectra>