fixed bug 27009: mandatory grid params make P&E popup to fail
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 04 Jul 2014 08:11:23 +0200
changeset 24164 6f1c374c25b8
parent 24163 dda8644b37a3
child 24165 ed20c85ab5c0
fixed bug 27009: mandatory grid params make P&E popup to fail
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewParameterHandler.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewParameterHandler.java	Tue Jul 08 17:17:38 2014 +0530
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewParameterHandler.java	Fri Jul 04 08:11:23 2014 +0200
@@ -238,7 +238,8 @@
     }
 
     public boolean isRequired() {
-      return parameter.isMandatory();
+      // grid params should always be marked as not mandatory
+      return !isGrid() && parameter.isMandatory();
     }
 
     public boolean isGrid() {