2022-11-04 00:00:49 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-03-31 10:31:33 +02:00
|
|
|
<!--
|
|
|
|
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>
|
2022-11-04 00:00:49 +01:00
|
|
|
<field name="active" eval="True" />
|
|
|
|
<field name="model_id" ref="account.model_account_fiscal_year" />
|
2021-03-31 10:31:33 +02:00
|
|
|
<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>
|
2022-11-04 00:00:49 +01:00
|
|
|
<field name="nextcall" eval="(DateTime.today()).strftime('%Y-%m-%d')" />
|
2021-03-31 10:31:33 +02:00
|
|
|
<field name="numbercall">-1</field>
|
2022-11-04 00:00:49 +01:00
|
|
|
<field name="user_id" ref="base.user_root" />
|
2021-03-31 10:31:33 +02:00
|
|
|
</record>
|
|
|
|
</odoo>
|