Skip to content

Commit

Permalink
[10.0][MIG] Migrate letsencrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
robyf70 committed May 19, 2017
1 parent ed54cfb commit dc5d4d2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions letsencrypt/__manifest__.py
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Let's encrypt",
"version": "9.0.1.0.0",
"version": "10.0.1.0.0",
"author": "Therp BV,"
"Tecnativa,"
"Odoo Community Association (OCA)",
Expand All @@ -19,7 +19,7 @@
"demo/ir_cron.xml",
],
"post_init_hook": 'post_init_hook',
'installable': False,
'installable': True,
"external_dependencies": {
'bin': [
'openssl',
Expand Down
4 changes: 2 additions & 2 deletions letsencrypt/controllers/main.py
Expand Up @@ -3,8 +3,8 @@
# © 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import os
from openerp import http
from openerp.http import request
from odoo import http
from odoo.http import request
from ..models.letsencrypt import get_challenge_dir


Expand Down
2 changes: 1 addition & 1 deletion letsencrypt/hooks.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# © 2016 Therp BV <http://therp.nl>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import SUPERUSER_ID, api
from odoo import SUPERUSER_ID, api


def post_init_hook(cr, pool):
Expand Down
4 changes: 2 additions & 2 deletions letsencrypt/models/letsencrypt.py
Expand Up @@ -8,8 +8,8 @@
import urlparse
import subprocess
import tempfile
from openerp import _, api, models, exceptions
from openerp.tools import config
from odoo import _, api, models, exceptions
from odoo.tools import config


DEFAULT_KEY_LENGTH = 4096
Expand Down
2 changes: 1 addition & 1 deletion letsencrypt/tests/test_letsencrypt.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# © 2016 Therp BV <http://therp.nl>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase


class TestLetsencrypt(TransactionCase):
Expand Down

0 comments on commit dc5d4d2

Please sign in to comment.