From 8e03122c9ea045106736883047a8fa28aafa906f Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 26 Feb 2015 19:28:28 -0500 Subject: [PATCH] IDEMPIERE-1733 Cannot change Currency To in window Currency Rate --- org.adempiere.base/src/org/compiere/model/GridTable.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/GridTable.java b/org.adempiere.base/src/org/compiere/model/GridTable.java index e9062f7813..42f079c5a5 100644 --- a/org.adempiere.base/src/org/compiere/model/GridTable.java +++ b/org.adempiere.base/src/org/compiere/model/GridTable.java @@ -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())