BF [ 1895993 ] Excel Exporter: YesNo fields are not correctly exported
This commit is contained in:
parent
aea3de1fb0
commit
f56ca3c2fb
|
@ -40,6 +40,7 @@ import org.compiere.util.DisplayType;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.Ini;
|
import org.compiere.util.Ini;
|
||||||
import org.compiere.util.Language;
|
import org.compiere.util.Language;
|
||||||
|
import org.compiere.util.Msg;
|
||||||
import org.compiere.util.Util;
|
import org.compiere.util.Util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -331,7 +332,7 @@ public abstract class AbstractExcelExporter
|
||||||
value = (Boolean)obj;
|
value = (Boolean)obj;
|
||||||
else
|
else
|
||||||
value = "Y".equals(obj);
|
value = "Y".equals(obj);
|
||||||
cell.setCellValue(value);
|
cell.setCellValue(Msg.getMsg(getLanguage(), value == true ? "Y" : "N"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
String value = fixString(obj.toString()); // formatted
|
String value = fixString(obj.toString()); // formatted
|
||||||
|
|
Loading…
Reference in New Issue