2
0
account-financial-tools/account_fiscal_year_auto_create/data/ir_cron.xml
Sylvain LE GAL d8d2534a76 [MIG] account_fiscal_year_auto_create: from 12.0 to 16.0.
- depends on new OCA module account_fiscal_year
- bump version
- use new python convention
2022-11-04 00:10:13 +01:00

21 lines
903 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2021 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo noupdate="1">
<record id="cron_fiscal_year_auto_create" model="ir.cron">
<field name="name">Auto Create Fiscal Years</field>
<field name="active" eval="True" />
<field name="model_id" ref="account_fiscal_year.model_account_fiscal_year" />
<field name="state">code</field>
<field name="code">model.cron_auto_create()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="nextcall" eval="(DateTime.today()).strftime('%Y-%m-%d')" />
<field name="numbercall">-1</field>
<field name="user_id" ref="base.user_root" />
</record>
</odoo>