IDEMPIERE-3897 apply same solution as AD_Language to Entitytype

This commit is contained in:
Carlos Ruiz 2019-03-09 20:32:55 +01:00
parent e7e2d079a8
commit f42859d5e4
1 changed files with 1 additions and 2 deletions

View File

@ -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))){