IDEMPIERE-3476 2Pack: attribute set install is not reference by UUID / integrate patch from hieplq (#1070)

This commit is contained in:
Carlos Ruiz 2021-12-21 13:47:57 +01:00 committed by GitHub
parent 11f08b539c
commit 9716c32de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import org.compiere.model.X_AD_Client;
import org.compiere.model.X_AD_Image;
import org.compiere.model.X_AD_Org;
import org.compiere.model.X_C_Location;
import org.compiere.model.X_M_AttributeSetInstance;
import org.compiere.model.X_M_Locator;
import org.compiere.util.CLogger;
import org.compiere.util.DisplayType;
@ -292,6 +293,8 @@ public class PoExporter {
addTableReference(columnName, X_C_Location.Table_Name, new AttributesImpl());
} else if (DisplayType.Image == displayType) {
addTableReference(columnName, X_AD_Image.Table_Name, new AttributesImpl());
} else if (DisplayType.PAttribute == displayType) {
addTableReference(columnName, X_M_AttributeSetInstance.Table_Name, new AttributesImpl());
} else {
add(columnName, "", new AttributesImpl());
}