[11.0][MIG] base_external_dbsource_mysql: Migration to v11.0

This commit is contained in:
Sergio Teruel Albert
2018-06-27 13:00:28 +02:00
committed by Víctor Martínez
parent 4b42b728a7
commit f24a04cdee
15 changed files with 554 additions and 40 deletions

View File

@@ -1,3 +1 @@
# -*- coding: utf-8 -*-
from . import base_external_dbsource

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2011 Daniel Reis
# Copyright 2016 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
@@ -19,7 +18,7 @@ try:
CONNECTORS.append(('mysql', 'MySQL'))
assert MySQLdb
except (ImportError, AssertionError):
_logger.info('MySQL not available. Please install "mysqldb" '
_logger.info('MySQLdb not available. Please install "mysqlclient" '
'python package.')
except ImportError:
_logger.info('base_external_dbsource Odoo module not found.')