fixes issue
30825: Show in Status Bar doesn't honour the Active = N flag
Now the OBViewFieldHandler considers the active flag to decide whether the field should be added to the status bar or not
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java Thu Nov 12 10:20:59 2015 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java Thu Nov 12 11:25:47 2015 +0100
@@ -473,6 +473,12 @@
continue;
}
+ if (!field.isActive()) {
+ // If the field is not marked as active then is not shown in status bar
+ // See issue https://issues.openbravo.com/view.php?id=30825
+ continue;
+ }
+
final Property property;
if (field.getProperty() != null) {
property = DalUtil.getPropertyFromPath(entity, field.getProperty());