diff --git a/base/src/org/compiere/model/ModelValidationEngine.java b/base/src/org/compiere/model/ModelValidationEngine.java index b7c5223e70..d4e93fe850 100644 --- a/base/src/org/compiere/model/ModelValidationEngine.java +++ b/base/src/org/compiere/model/ModelValidationEngine.java @@ -151,10 +151,11 @@ public class ModelValidationEngine */ private void initialize(ModelValidator validator, MClient client) { - validator.initialize(this, client); - m_validators.add(validator); if (client == null) m_globalValidators.add(validator); + m_validators.add(validator); + validator.initialize(this, client); + } // initialize /**