Browse Source

base_external_dbsource and import_odbc modules moved out of __unported__ and adopted for instalation on v8.0 : created new form views for both modules as old ones was for v6.1

pull/41/head
lauris 10 years ago
parent
commit
d2c7818403
  1. 0
      base_external_dbsource/__init__.py
  2. 0
      base_external_dbsource/__openerp__.py
  3. 0
      base_external_dbsource/base_external_dbsource.py
  4. 0
      base_external_dbsource/base_external_dbsource_demo.xml
  5. 26
      base_external_dbsource/base_external_dbsource_view.xml
  6. 0
      base_external_dbsource/images/screenshot01.png
  7. 0
      base_external_dbsource/security/ir.model.access.csv
  8. 0
      base_external_dbsource/test/dbsource_connect.yml
  9. 0
      import_odbc/__init__.py
  10. 0
      import_odbc/__openerp__.py
  11. 0
      import_odbc/images/snapshot1.png
  12. 0
      import_odbc/images/snapshot2.png
  13. 0
      import_odbc/import_odbc.py
  14. 0
      import_odbc/import_odbc_demo.xml
  15. 51
      import_odbc/import_odbc_view.xml
  16. 0
      import_odbc/security/ir.model.access.csv

0
__unported__/base_external_dbsource/__init__.py → base_external_dbsource/__init__.py

0
__unported__/base_external_dbsource/__openerp__.py → base_external_dbsource/__openerp__.py

0
__unported__/base_external_dbsource/base_external_dbsource.py → base_external_dbsource/base_external_dbsource.py

0
__unported__/base_external_dbsource/base_external_dbsource_demo.xml → base_external_dbsource/base_external_dbsource_demo.xml

26
__unported__/base_external_dbsource/base_external_dbsource_view.xml → base_external_dbsource/base_external_dbsource_view.xml

@ -20,17 +20,23 @@
<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 string="External DB Source" version="7.0">
<sheet>
<group>
<group>
<field name="name"/>
</group>
<group>
<field name="password" password="True"/>
</group>
</group>
<group col="1">
<field name="connector"/>
<field name="conn_string"/>
<button name="connection_test" string="Test Connection" type="object" icon="gtk-network"/>
</group>
</sheet>
</form>
</field>
</record>

0
__unported__/base_external_dbsource/images/screenshot01.png → base_external_dbsource/images/screenshot01.png

Before

Width: 960  |  Height: 281  |  Size: 31 KiB

After

Width: 960  |  Height: 281  |  Size: 31 KiB

0
__unported__/base_external_dbsource/security/ir.model.access.csv → base_external_dbsource/security/ir.model.access.csv

0
__unported__/base_external_dbsource/test/dbsource_connect.yml → base_external_dbsource/test/dbsource_connect.yml

0
__unported__/import_odbc/__init__.py → import_odbc/__init__.py

0
__unported__/import_odbc/__openerp__.py → import_odbc/__openerp__.py

0
__unported__/import_odbc/images/snapshot1.png → import_odbc/images/snapshot1.png

Before

Width: 699  |  Height: 475  |  Size: 19 KiB

After

Width: 699  |  Height: 475  |  Size: 19 KiB

0
__unported__/import_odbc/images/snapshot2.png → import_odbc/images/snapshot2.png

Before

Width: 943  |  Height: 348  |  Size: 24 KiB

After

Width: 943  |  Height: 348  |  Size: 24 KiB

0
__unported__/import_odbc/import_odbc.py → import_odbc/import_odbc.py

0
__unported__/import_odbc/import_odbc_demo.xml → import_odbc/import_odbc_demo.xml

51
__unported__/import_odbc/import_odbc_view.xml → import_odbc/import_odbc_view.xml

@ -7,31 +7,42 @@
<record model="ir.ui.view" id="view_import_dbtable_form">
<field name="name">import.odbc.dbtable.form</field>
<field name="model">import.odbc.dbtable</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Table">
<field name="name" search="1"/>
<field name="exec_order"/>
<field name="model_target"/>
<field name="dbsource_id" search="1"/>
<field name="noupdate"/>
<field name="enabled"/>
<field name="ignore_rel_errors"/>
<field name="raise_import_errors"/>
<field name="last_sync"/>
<group colspan="2">
<group>
<group>
<field name="name" search="1"/>
<field name="model_target"/>
<field name="noupdate"/>
<field name="ignore_rel_errors"/>
<field name="last_sync"/>
<button name="import_run" string="Run Import" type="object" icon="gtk-execute"/>
</group>
<group>
<field name="exec_order"/>
<field name="dbsource_id" search="1"/>
<field name="enabled"/>
<field name="raise_import_errors"/>
<button name="import_schedule" string="Schedule Import" type="object" icon="gtk-paste"/>
</group>
</group>
<group>
<field name="sql_source" colspan="4"/>
</group>
<separator string="Last execution" colspan="4"/>
<group>
<group>
<field name="last_record_count"/>
<field name="last_warn_count"/>
<field name="last_error_count"/>
</group>
<group>
<field name="start_run"/>
<field name="last_run"/>
<field name="last_log" colspan="4"/>
</group>
<field name="sql_source" colspan="4"/>
<separator string="Last execution" colspan="4"/>
<field name="last_record_count"/>
<field name="start_run"/>
<field name="last_warn_count"/>
<field name="last_run"/>
<field name="last_error_count"/>
<field name="last_log" colspan="4"/>
</form>
</group>
</form>
</field>
</record>

0
__unported__/import_odbc/security/ir.model.access.csv → import_odbc/security/ir.model.access.csv

Loading…
Cancel
Save