Browse Source
[IMP] Update to v7 menu structure and dos2unix conversion
[IMP] Update to v7 menu structure and dos2unix conversion
(../ext rev 366)pull/4/head
Maxime Chambreuil
12 years ago
1 changed files with 52 additions and 52 deletions
@ -1,54 +1,54 @@ |
|||
<?xml version="1.0"?> |
|||
<openerp> |
|||
<data> |
|||
|
|||
<!-- 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> |
|||
<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="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<field name="name"/> |
|||
<field name="password" password="True"/> |
|||
<newline/> |
|||
<field name="connector" colspan="2"/> |
|||
<newline/> |
|||
<field name="conn_string" colspan="4"/> |
|||
<newline/> |
|||
<button name="connection_test" string="Test Connection" type="object" icon="gtk-network" colspan="4"/> |
|||
</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_type">form</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="view_id" ref="view_dbsource_tree"/> |
|||
</record> |
|||
|
|||
<?xml version="1.0"?> |
|||
<openerp> |
|||
<data> |
|||
|
|||
<!-- 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="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="External DB Source"> |
|||
<field name="name"/> |
|||
<field name="password" password="True"/> |
|||
<newline/> |
|||
<field name="connector" colspan="2"/> |
|||
<newline/> |
|||
<field name="conn_string" colspan="4"/> |
|||
<newline/> |
|||
<button name="connection_test" string="Test Connection" type="object" icon="gtk-network" colspan="4"/> |
|||
</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_type">form</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_15" |
|||
action="action_dbsource"/> |
|||
|
|||
</data> |
|||
</openerp> |
|||
|
|||
|
|||
parent="base.next_id_9" |
|||
action="action_dbsource"/> |
|||
|
|||
</data> |
|||
</openerp> |
|||
|
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue