[FIX] fix usage of cron data, deactivate it by default

pull/2608/head
Kevin Khao 2021-11-29 10:01:40 +03:00 committed by Florian da Costa
parent 394ea040c6
commit 8e5457e805
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
"data/ir_config_parameter.xml",
"data/ir_module_type.xml",
"data/ir_module_type_rule.xml",
"data/ir_cron.xml",
],
"external_dependencies": {
"python": ["pygount"],

View File

@ -7,7 +7,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<odoo noupdate="1">
<record id="cron_module_analysis" model="ir.cron">
<field name="name">Update Module Analysis</field>
<field name="active" eval="True" />
<field name="active" eval="False" />
<field name="model_id" ref="base.model_ir_module_module" />
<field name="state">code</field>
<field name="code">model.cron_analyse_code()</field>