IDEMPIERE-2273 CSV Import fail on evaluate column mandatory logic / based on patch from Claudemir Todo Bom (allgood)

This commit is contained in:
Carlos Ruiz 2014-11-26 18:09:03 -05:00
parent 1898b69191
commit 44e85e6999
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ public class GridTabCSVImporter implements IGridTabImporter
return new StringBuilder(Msg.getMsg(Env.getCtx(), "FieldNotDisplayed",new Object[] {header.get(i)}));
MColumn column = MColumn.get(Env.getCtx(), field.getAD_Column_ID());
if((field.isMandatory(true) || column.isMandatory()) && value == null && field.getDefault()==null){
if((field.isMandatory(false) || column.isMandatory()) && value == null && field.getDefault()==null){
mandatoryColumns.append(" / ");
mandatoryColumns.append(header.get(i));
}