Browse Source

[ADD] disable our cronjob for demo mode

fixes #458
pull/1244/head
Holger Brunn 8 years ago
committed by Ignacio Ibeas - Acysos S.L
parent
commit
932a2082c1
  1. 1
      letsencrypt/__openerp__.py
  2. 8
      letsencrypt/demo/ir_cron.xml

1
letsencrypt/__openerp__.py

@ -16,6 +16,7 @@
"data": [ "data": [
"data/ir_config_parameter.xml", "data/ir_config_parameter.xml",
"data/ir_cron.xml", "data/ir_cron.xml",
"demo/ir_cron.xml",
], ],
"post_init_hook": 'post_init_hook', "post_init_hook": 'post_init_hook',
"installable": True, "installable": True,

8
letsencrypt/demo/ir_cron.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="cronjob" model="ir.cron">
<field name="active" eval="False" />
</record>
</data>
</openerp>
Loading…
Cancel
Save