|
|
@ -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,29 +57,33 @@ |
|
|
|
</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> |
|
|
|
<field name="type">search</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<search string="Search ODBC Imports"> |
|
|
|
<field name="name"/> |
|
|
|
<field name="dbsource_id"/> |
|
|
|
<field name="model_target"/> |
|
|
|
<field name="name">import.odbc.dbtable.filter</field> |
|
|
|
<field name="model">import.odbc.dbtable</field> |
|
|
|
<field name="type">search</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<search string="Search ODBC Imports"> |
|
|
|
<field name="name"/> |
|
|
|
<field name="dbsource_id"/> |
|
|
|
<field name="model_target"/> |
|
|
|
</search> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<!--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_9" |
|
|
|
action="action_import_dbtable"/> |
|
|
|
|
|
|
|
<!--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> |
|
|
|
</data> |
|
|
|
</openerp> |
|
|
|
|
|
|
|
|
|
|
|