details: https://code.openbravo.com/erp/devel/pi/rev/4e6fc07685e6 changeset: 35465:4e6fc07685e6 user: Alberto Santos <albertosantos9 <at> hotmail.com> date: Tue Mar 06 16:47:16 2018 +0100 summary: Related to issue 40212: [Loyalty Programs] Support CSV extension to allow CSV files downloads
diffstat: modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diffs (12 lines): diff -r 6b45cce606e0 -r 4e6fc07685e6 modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java --- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java Wed Feb 20 10:42:06 2019 +0100 +++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java Tue Mar 06 16:47:16 2018 +0100 @@ -177,6 +177,8 @@ expType = ExportType.XLS; } else if (strFileName.endsWith("." + ExportType.XLSX.getExtension())) { expType = ExportType.XLSX; + } else if (strFileName.endsWith("." + ExportType.CSV.getExtension())) { + expType = ExportType.CSV; } else { throw new IllegalArgumentException( "Trying to download report file with unsupported type " + strFileName); _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits