Browse Source

[ADD] disable our cronjob for demo mode

fixes #458
pull/464/head
Holger Brunn 9 years ago
parent
commit
99906c370c
  1. 1
      letsencrypt/__openerp__.py
  2. 8
      letsencrypt/demo/ir_cron.xml

1
letsencrypt/__openerp__.py

@ -16,6 +16,7 @@
"data": [
"data/ir_config_parameter.xml",
"data/ir_cron.xml",
"demo/ir_cron.xml",
],
"post_init_hook": 'post_init_hook',
"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