|
|
@ -9,7 +9,7 @@ |
|
|
|
<field name="model">import.odbc.dbtable</field> |
|
|
|
<field name="type">form</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<form> |
|
|
|
<form string="Table"> |
|
|
|
<field name="name" search="1"/> |
|
|
|
<field name="exec_order"/> |
|
|
|
<field name="model_target"/> |
|
|
@ -42,7 +42,7 @@ |
|
|
|
<field name="model">import.odbc.dbtable</field> |
|
|
|
<field name="type">tree</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<tree colors="grey: enabled==False; red:last_error_count>0; blue:last_warn_count>0"> |
|
|
|
<tree string="Tables" colors="grey: enabled==False; red:last_error_count>0; blue:last_warn_count>0"> |
|
|
|
<field name="exec_order"/> |
|
|
|
<field name="name"/> |
|
|
|
<field name="model_target"/> |
|
|
@ -57,8 +57,7 @@ |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Tree Search --> |
|
|
|
<!-- Tree Search --> |
|
|
|
<record id="view_import_dbtable_filter" model="ir.ui.view"> |
|
|
|
<field name="name">import.odbc.dbtable.filter</field> |
|
|
|
<field name="model">import.odbc.dbtable</field> |
|
|
@ -72,14 +71,19 @@ |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<!--Menu--> |
|
|
|
<!--Menu--> |
|
|
|
<record model="ir.actions.act_window" id="action_import_dbtable"> |
|
|
|
<field name="name">Import from SQL</field> |
|
|
|
<field name="res_model">import.odbc.dbtable</field> |
|
|
|
<field name="view_type">form</field> |
|
|
|
</record> |
|
|
|
<menuitem name="Import from SQL" id="menu_import_dbtable" parent="base.next_id_15" action="action_import_dbtable"/> |
|
|
|
</data> |
|
|
|
|
|
|
|
<menuitem name="Import from SQL" |
|
|
|
id="menu_import_dbtable" |
|
|
|
parent="base.next_id_9" |
|
|
|
action="action_import_dbtable"/> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |
|
|
|
|
|
|
|
|
|
|
|