Fixed issue 17102. In case the organization is changed, all combos will be recalculated.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Tue, 10 May 2011 18:52:45 +0200
changeset 12085 2045cb1d1e25
parent 12084 2c625d83f03b
child 12086 0472100cf1c8
Fixed issue 17102. In case the organization is changed, all combos will be recalculated.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Tue May 10 18:10:04 2011 +0200
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Tue May 10 18:52:45 2011 +0200
@@ -705,7 +705,7 @@
       log.debug("Columns in validation: '" + cols + "'");
     }
 
-    if (mode.equals("CHANGE") && changedColumn != null) {
+    if (mode.equals("CHANGE") && changedColumn != null && !changedColumn.equals("inpadOrgId")) {
       // In case of a CHANGE event, we only add the changed column, to avoid firing reloads for
       // every column in the tab, instead firing reloads just for the dependant columns
       String changedCol = "";