The second default will be empty string in the getDefault() call
authorAntonio Moreno <antonio.moreno@openbravo.com>
Fri, 21 Jan 2011 14:52:04 +0100
changeset 10030 cffb1c608017
parent 10029 eab8e3a0c0b6
child 10031 a62f90e6dbbb
The second default will be empty string in the getDefault() call
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
--- a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java	Fri Jan 21 14:31:48 2011 +0100
+++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java	Fri Jan 21 14:52:04 2011 +0100
@@ -163,7 +163,7 @@
       if (!defaultS.startsWith("@SQL=")) {
         columnValue = Utility.getDefault(new DalConnectionProvider(false), rq
             .getVariablesSecureApp(), field.getColumn().getDBColumnName(), defaultS, field.getTab()
-            .getWindow().getId(), defaultS);
+            .getWindow().getId(), "");
       } else {
         ArrayList<String> params = new ArrayList<String>();
         String sql = parseSQL(defaultS, params);