IDEMPIERE-1733 Cannot change Currency To in window Currency Rate

This commit is contained in:
Carlos Ruiz 2015-02-26 19:28:28 -05:00
parent 26b664e0d7
commit 8e03122c9e
1 changed files with 2 additions and 6 deletions

View File

@ -3207,12 +3207,8 @@ public class GridTable extends AbstractTableModel
GridField field = (GridField)m_fields.get(j);
columnName = field.getColumnName();
displayType = field.getDisplayType();
// Integer, ID, Lookup (UpdatedBy is a numeric column)
if (displayType == DisplayType.Integer
|| (DisplayType.isID(displayType)
&& (columnName.endsWith("_ID") || columnName.endsWith("_Acct")
|| columnName.equals("AD_Key") || columnName.equals("AD_Display")))
|| columnName.endsWith("atedBy"))
// Integer, ID, Lookup
if (displayType == DisplayType.Integer || DisplayType.isID(displayType))
{
rowData[j] = new Integer(rs.getInt(j+1)); // Integer
if (rs.wasNull())