IDEMPIERE-3476 2Pack: attribute set install is not reference by UUID / integrate patch from hieplq (#1070)
This commit is contained in:
parent
11f08b539c
commit
9716c32de4
|
@ -23,6 +23,7 @@ import org.compiere.model.X_AD_Client;
|
||||||
import org.compiere.model.X_AD_Image;
|
import org.compiere.model.X_AD_Image;
|
||||||
import org.compiere.model.X_AD_Org;
|
import org.compiere.model.X_AD_Org;
|
||||||
import org.compiere.model.X_C_Location;
|
import org.compiere.model.X_C_Location;
|
||||||
|
import org.compiere.model.X_M_AttributeSetInstance;
|
||||||
import org.compiere.model.X_M_Locator;
|
import org.compiere.model.X_M_Locator;
|
||||||
import org.compiere.util.CLogger;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.util.DisplayType;
|
import org.compiere.util.DisplayType;
|
||||||
|
@ -292,6 +293,8 @@ public class PoExporter {
|
||||||
addTableReference(columnName, X_C_Location.Table_Name, new AttributesImpl());
|
addTableReference(columnName, X_C_Location.Table_Name, new AttributesImpl());
|
||||||
} else if (DisplayType.Image == displayType) {
|
} else if (DisplayType.Image == displayType) {
|
||||||
addTableReference(columnName, X_AD_Image.Table_Name, new AttributesImpl());
|
addTableReference(columnName, X_AD_Image.Table_Name, new AttributesImpl());
|
||||||
|
} else if (DisplayType.PAttribute == displayType) {
|
||||||
|
addTableReference(columnName, X_M_AttributeSetInstance.Table_Name, new AttributesImpl());
|
||||||
} else {
|
} else {
|
||||||
add(columnName, "", new AttributesImpl());
|
add(columnName, "", new AttributesImpl());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue