diff --git a/base_external_dbsource/__manifest__.py b/base_external_dbsource/__manifest__.py index 35c6716b7..24db6e35a 100644 --- a/base_external_dbsource/__manifest__.py +++ b/base_external_dbsource/__manifest__.py @@ -1,9 +1,10 @@ # -*- coding: utf-8 -*- # Copyright <2011> +# Copyright <2016> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'External Database Sources', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Tools', 'author': "Daniel Reis,Odoo Community Association (OCA)", 'website': 'https://github.com/OCA/server-tools', @@ -21,5 +22,5 @@ 'demo': [ 'demo/base_external_dbsource.xml', ], - 'installable': False, + 'installable': True, } diff --git a/base_external_dbsource/models/base_external_dbsource.py b/base_external_dbsource/models/base_external_dbsource.py index 3bea4672e..3fe2718fb 100644 --- a/base_external_dbsource/models/base_external_dbsource.py +++ b/base_external_dbsource/models/base_external_dbsource.py @@ -22,9 +22,9 @@ import os import logging import psycopg2 -from openerp import models, fields, api, _ -from openerp.exceptions import Warning as UserError -import openerp.tools as tools +from odoo import models, fields, api, _ +from odoo.exceptions import Warning as UserError +import odoo.tools as tools _logger = logging.getLogger(__name__) CONNECTORS = [] diff --git a/base_external_dbsource/tests/test_create_dbsource.py b/base_external_dbsource/tests/test_create_dbsource.py index f255fb62c..5b64f606e 100644 --- a/base_external_dbsource/tests/test_create_dbsource.py +++ b/base_external_dbsource/tests/test_create_dbsource.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -from openerp.exceptions import Warning as UserError -from openerp.tests import common +from odoo.exceptions import Warning as UserError +from odoo.tests import common import logging diff --git a/base_external_dbsource/views/base_external_dbsource.xml b/base_external_dbsource/views/base_external_dbsource.xml index 4ea5f2ade..15b9ce706 100644 --- a/base_external_dbsource/views/base_external_dbsource.xml +++ b/base_external_dbsource/views/base_external_dbsource.xml @@ -31,8 +31,9 @@ - -