diff --git a/base/src/org/adempiere/model/GridTabWrapper.java b/base/src/org/adempiere/model/GridTabWrapper.java index d8f5e465be..385bcc5616 100644 --- a/base/src/org/adempiere/model/GridTabWrapper.java +++ b/base/src/org/adempiere/model/GridTabWrapper.java @@ -102,13 +102,15 @@ public class GridTabWrapper implements InvocationHandler GridField field = m_gridTab.getField(propertyName); if (field != null) { - return field.getValue(); + final Object value = field.getValue(); + return value instanceof Boolean ? value : "Y".equals(value); } // field = m_gridTab.getField("Is"+propertyName); if (field != null) { - return field.getValue(); + final Object value = field.getValue(); + return value instanceof Boolean ? value : "Y".equals(value); } // throw new IllegalArgumentException("Method not supported - "+methodName);