Browse Source

Merge pull request #464 from hbrunn/9.0-fix_letsencrypt_runbot

[ADD] disable our cronjob for demo mode
pull/442/head
Pedro M. Baeza 9 years ago
committed by GitHub
parent
commit
c12b5a05a5
  1. 1
      auth_supplier/security/auth_supplier_security.xml
  2. 1
      letsencrypt/__openerp__.py
  3. 8
      letsencrypt/demo/ir_cron.xml

1
auth_supplier/security/auth_supplier_security.xml

@ -4,7 +4,6 @@
<record id="group_auth_supplier" model="res.groups">
<field name="name">Supplier Portal</field>
<field name="category_id" ref="base.module_category_extra"/>
<field name="is_portal" eval="True"/>
</record>
</odoo>

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