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

7 years ago
7 years ago
7 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2017 LasLabs - Dave Lasley
  3. Copyright 2017 Tecnativa - Jairo Llopis
  4. License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
  5. <odoo noupdate="1">
  6. <record model="ir.cron" id="module_check_upgrades_cron">
  7. <field name="name">Perform Module Upgrades</field>
  8. <field name="active" eval="True"/>
  9. <field name="user_id" ref="base.user_root"/>
  10. <field name="interval_number">1</field>
  11. <field name="interval_type">days</field>
  12. <field name="numbercall">-1</field>
  13. <field name="nextcall" eval="(DateTime.now() + timedelta(days= +1)).strftime('%Y-%m-%d 3:00:00')"/>
  14. <field name="model_id" ref="base.model_base_module_upgrade"/>
  15. <field name="state">code</field>
  16. <field name="code">model.upgrade_module()</field>
  17. </record>
  18. </odoo>