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

This commit is contained in:
lauris
2014-08-21 09:59:34 +03:00
committed by bilbonet
parent 0ad66204dd
commit 97d47cf6ab
8 changed files with 351 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
-
Connect to local Postgres.
-
!python {model: base.external.dbsource}: |
from openerp.osv.orm import except_orm
try:
self.connection_test(cr, uid, [ref("demo_postgre")])
except except_orm as e:
assert e.value == u'Everything seems properly set up!'