BF [ 1895993 ] Excel Exporter: YesNo fields are not correctly exported

This commit is contained in:
teo_sarca 2008-02-18 10:50:11 +00:00
parent aea3de1fb0
commit f56ca3c2fb
1 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.Ini;
import org.compiere.util.Language;
import org.compiere.util.Msg;
import org.compiere.util.Util;
/**
@ -331,7 +332,7 @@ public abstract class AbstractExcelExporter
value = (Boolean)obj;
else
value = "Y".equals(obj);
cell.setCellValue(value);
cell.setCellValue(Msg.getMsg(getLanguage(), value == true ? "Y" : "N"));
}
else {
String value = fixString(obj.toString()); // formatted