diff --git a/letsencrypt/__manifest__.py b/letsencrypt/__manifest__.py index 95c6b4f96..60d0395d6 100644 --- a/letsencrypt/__manifest__.py +++ b/letsencrypt/__manifest__.py @@ -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)", @@ -19,7 +19,7 @@ "demo/ir_cron.xml", ], "post_init_hook": 'post_init_hook', - 'installable': False, + 'installable': True, "external_dependencies": { 'bin': [ 'openssl', diff --git a/letsencrypt/controllers/main.py b/letsencrypt/controllers/main.py index 03b8c4d15..07df15d77 100644 --- a/letsencrypt/controllers/main.py +++ b/letsencrypt/controllers/main.py @@ -3,8 +3,8 @@ # © 2016 Antonio Espinosa # 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 diff --git a/letsencrypt/hooks.py b/letsencrypt/hooks.py index 3332fa23f..9a5741c2a 100644 --- a/letsencrypt/hooks.py +++ b/letsencrypt/hooks.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # © 2016 Therp BV # 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): diff --git a/letsencrypt/models/letsencrypt.py b/letsencrypt/models/letsencrypt.py index 225fc15ad..085fdcd34 100644 --- a/letsencrypt/models/letsencrypt.py +++ b/letsencrypt/models/letsencrypt.py @@ -8,8 +8,8 @@ import urllib2 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 diff --git a/letsencrypt/tests/test_letsencrypt.py b/letsencrypt/tests/test_letsencrypt.py index c0dd72a2f..3f6002c11 100644 --- a/letsencrypt/tests/test_letsencrypt.py +++ b/letsencrypt/tests/test_letsencrypt.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # © 2016 Therp BV # 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):