From f42859d5e4e69fa6e9311843a5a82dbc83b61cbd Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 9 Mar 2019 20:32:55 +0100 Subject: [PATCH] IDEMPIERE-3897 apply same solution as AD_Language to Entitytype --- .../src/org/adempiere/impexp/GridTabCSVImporter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java index 091f614040..7fcec58d31 100644 --- a/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java +++ b/org.adempiere.base/src/org/adempiere/impexp/GridTabCSVImporter.java @@ -48,7 +48,6 @@ import org.compiere.model.GridField; import org.compiere.model.GridTab; import org.compiere.model.GridWindow; import org.compiere.model.GridWindowVO; -import org.compiere.model.I_AD_Language; import org.compiere.model.MColumn; import org.compiere.model.MLocation; import org.compiere.model.MProcess; @@ -1075,7 +1074,7 @@ public class GridTabCSVImporter implements IGridTabImporter if(isForeing) foreignColumn = header.get(i).substring(header.get(i).indexOf("[")+1,header.get(i).indexOf("]")); - if(!isForeing && !isKeyColumn && I_AD_Language.Table_Name.equals(columnName)) + if(!isForeing && !isKeyColumn && ("AD_Language".equals(columnName) || "EntityType".equals(columnName))) setValue = value; else if(!"C_Location".equals(gridTab.getTableName()) && header.get(i).contains(MTable.getTableName(Env.getCtx(),MLocation.Table_ID))){