bank-payment/account_banking_sepa_direct_debit/data/mandate_expire_cron.xml

21 lines
796 B
XML
Raw Normal View History

2021-03-23 19:28:51 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!--
© 2013-2016 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>