[IMP]: olap: Minor improvement for Fact database connection wizard

bzr revid: rpa@tinyerp.com-20100420114008-3cztezikciuti403
This commit is contained in:
rpa (Open ERP)
2010-04-20 17:10:08 +05:30
parent 28e12f9ccf
commit a40c28f6c2
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -41,10 +41,7 @@
<field name="loaded"/>
<separator string="Connection url" colspan="4"/>
<field name="connection_url" nolabel="1" colspan="2"/>
<!--
<button name="test_connection" string="Test Connection" type="object" colspan="2"/>
-->
<button name="%(bi_test_connection)d" string="Test Connection" type="action" colspan="2"/>
</page>
<page string="Tables">
<field name="table_ids" colspan="4" nolabel="1"/>
+2 -2
View File
@@ -96,8 +96,8 @@ class olap_fact_database(osv.osv):
raise osv.except_osv('Error (cx_Oracle) : ', e)
except Exception,e:
raise osv.except_osv('BI Error !', e)
raise osv.except_osv('Error !', e)
raise osv.except_osv('Message', 'Connection Successful !')
return True
_columns = {