mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG][10.0] base_external_dbsource (#578)
This commit is contained in:
committed by
Pedro M. Baeza
parent
480b03f293
commit
e952dae464
@@ -1,9 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright <2011> <Daniel Reis, Maxime Chambreuil, Savoir-faire Linux>
|
||||
# Copyright <2016> <Henry Zhou MAXodoo>
|
||||
# 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',
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -31,8 +31,9 @@
|
||||
</group>
|
||||
<group col="1">
|
||||
<field name="connector"/>
|
||||
<field name="conn_string" placeholder="Please check the tooltip for connection string examples"/>
|
||||
<button name="connection_test" string="Test Connection" type="object" icon="gtk-network"/>
|
||||
<field name="conn_string"
|
||||
placeholder="Please check the tooltip for connection string examples"/>
|
||||
<button name="connection_test" string="Test Connection" type="object" icon="fa-refresh"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user