diff --git a/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java b/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java index f48826c658..594c138526 100644 --- a/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java +++ b/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java @@ -649,7 +649,7 @@ public class ModelInterfaceGenerator String modelpackage = getModelPackage(entityType) ; if (modelpackage != null) { - referenceClassName = new StringBuilder(".").append(referenceClassName); + referenceClassName = new StringBuilder(modelpackage).append(".").append(referenceClassName); } if (!isGenerateModelGetterForEntity(AD_Table_ID, entityType)) {