You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
876 B
20 lines
876 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2017 LasLabs - Dave Lasley
|
|
Copyright 2017 Tecnativa - Jairo Llopis
|
|
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
|
|
|
|
<odoo noupdate="1">
|
|
<record model="ir.cron" id="module_check_upgrades_cron">
|
|
<field name="name">Perform Module Upgrades</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>
|
|
<field name="nextcall" eval="(DateTime.now() + timedelta(days= +1)).strftime('%Y-%m-%d 3:00:00')"/>
|
|
<field name="model_id" ref="base.model_base_module_upgrade"/>
|
|
<field name="state">code</field>
|
|
<field name="code">model.upgrade_module()</field>
|
|
|
|
</record>
|
|
</odoo>
|