Files
server-backend/base_external_dbsource/views/base_external_dbsource.xml
Sergio Teruel 7cd425241b [MIG] base_external_dbsource: Migration to v13.0
[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_external_dbsource/

pre-commit update

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_external_dbsource/
2022-11-17 11:46:50 +01:00

65 lines
2.4 KiB
XML

<?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>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="External DB Sources">
<field name="name" />
<field name="connector" />
<field name="conn_string" />
</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>
<field name="arch" type="xml">
<form string="External DB Source">
<sheet>
<group>
<group>
<field name="name" />
</group>
<group>
<field name="password" password="True" />
</group>
</group>
<group col="1">
<group>
<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"
/>
</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"
/>
</odoo>