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
Sergio Teruel
parent
ea56469eb7
commit
cc12e6a1a7
@@ -1,9 +1,10 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright <2011> <Daniel Reis, Maxime Chambreuil, Savoir-faire Linux>
|
# 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).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
{
|
{
|
||||||
'name': 'External Database Sources',
|
'name': 'External Database Sources',
|
||||||
'version': '9.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'Tools',
|
'category': 'Tools',
|
||||||
'author': "Daniel Reis,Odoo Community Association (OCA)",
|
'author': "Daniel Reis,Odoo Community Association (OCA)",
|
||||||
'website': 'https://github.com/OCA/server-tools',
|
'website': 'https://github.com/OCA/server-tools',
|
||||||
@@ -22,9 +22,9 @@
|
|||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
import psycopg2
|
import psycopg2
|
||||||
from openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
from openerp.exceptions import Warning as UserError
|
from odoo.exceptions import Warning as UserError
|
||||||
import openerp.tools as tools
|
import odoo.tools as tools
|
||||||
_logger = logging.getLogger(__name__)
|
_logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONNECTORS = []
|
CONNECTORS = []
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from openerp.exceptions import Warning as UserError
|
from odoo.exceptions import Warning as UserError
|
||||||
from openerp.tests import common
|
from odoo.tests import common
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,9 @@
|
|||||||
</group>
|
</group>
|
||||||
<group col="1">
|
<group col="1">
|
||||||
<field name="connector"/>
|
<field name="connector"/>
|
||||||
<field name="conn_string" placeholder="Please check the tooltip for connection string examples"/>
|
<field name="conn_string"
|
||||||
<button name="connection_test" string="Test Connection" type="object" icon="gtk-network"/>
|
placeholder="Please check the tooltip for connection string examples"/>
|
||||||
|
<button name="connection_test" string="Test Connection" type="object" icon="fa-refresh"/>
|
||||||
</group>
|
</group>
|
||||||
</sheet>
|
</sheet>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user