[10.0][MIG] Migrate letsencrypt

pull/2917/head
Roberto Fichera 2017-05-19 18:45:56 +02:00 committed by Holger Brunn
parent 885646777e
commit 4939fbf41d
5 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{ {
"name": "Let's encrypt", "name": "Let's encrypt",
"version": "9.0.1.0.0", "version": "10.0.1.0.0",
"author": "Therp BV," "author": "Therp BV,"
"Tecnativa," "Tecnativa,"
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",
@ -19,7 +19,7 @@
"demo/ir_cron.xml", "demo/ir_cron.xml",
], ],
"post_init_hook": 'post_init_hook', "post_init_hook": 'post_init_hook',
'installable': False, 'installable': True,
"external_dependencies": { "external_dependencies": {
'bin': [ 'bin': [
'openssl', 'openssl',

View File

@ -3,8 +3,8 @@
# © 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> # © 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import os import os
from openerp import http from odoo import http
from openerp.http import request from odoo.http import request
from ..models.letsencrypt import get_challenge_dir from ..models.letsencrypt import get_challenge_dir

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# © 2016 Therp BV <http://therp.nl> # © 2016 Therp BV <http://therp.nl>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # 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): def post_init_hook(cr, pool):

View File

@ -8,8 +8,8 @@ import urllib2
import urlparse import urlparse
import subprocess import subprocess
import tempfile import tempfile
from openerp import _, api, models, exceptions from odoo import _, api, models, exceptions
from openerp.tools import config from odoo.tools import config
DEFAULT_KEY_LENGTH = 4096 DEFAULT_KEY_LENGTH = 4096

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# © 2016 Therp BV <http://therp.nl> # © 2016 Therp BV <http://therp.nl>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # 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): class TestLetsencrypt(TransactionCase):