mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
pre-commit update
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
<!-- DBSource -->
|
||||
|
||||
<record model="ir.ui.view" id="view_dbsource_tree">
|
||||
<field name="name">base.external.dbsource.tree</field>
|
||||
<field name="model">base.external.dbsource</field>
|
||||
@@ -14,7 +13,6 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_dbsource_form">
|
||||
<field name="name">base.external.dbsource.form</field>
|
||||
<field name="model">base.external.dbsource</field>
|
||||
@@ -34,22 +32,33 @@
|
||||
<field name="connector" />
|
||||
</group>
|
||||
<group string="Connection string" col="1">
|
||||
<field name="conn_string" nolabel="1"
|
||||
placeholder="Please check the tooltip for connection string examples"/>
|
||||
<button name="connection_test" string="Test Connection" type="object" icon="fa-refresh"/>
|
||||
<field
|
||||
name="conn_string"
|
||||
nolabel="1"
|
||||
placeholder="Please check the tooltip for connection string examples"
|
||||
/>
|
||||
<button
|
||||
name="connection_test"
|
||||
string="Test Connection"
|
||||
type="object"
|
||||
icon="fa-refresh"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_dbsource">
|
||||
<field name="name">External Database Sources</field>
|
||||
<field name="res_model">base.external.dbsource</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="view_dbsource_tree" />
|
||||
</record>
|
||||
|
||||
<menuitem name="Database Sources" id="menu_dbsource" parent="base.next_id_9" action="action_dbsource"/>
|
||||
<menuitem
|
||||
name="Database Sources"
|
||||
id="menu_dbsource"
|
||||
parent="base.next_id_9"
|
||||
action="action_dbsource"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user