diff --git a/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java b/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
index a539bb1384..4a71a695dd 100644
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2014-2018 Openbravo SLU 
+ * All portions are Copyright (C) 2014-2021 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -179,6 +179,8 @@ public class BaseReportActionHandler extends BaseProcessActionHandler {
       expType = ExportType.XLSX;
     } else if (strFileName.endsWith("." + ExportType.CSV.getExtension())) {
       expType = ExportType.CSV;
+    } else if (strFileName.endsWith("." + ExportType.TXT.getExtension())) {
+      expType = ExportType.TXT;
     } else {
       throw new IllegalArgumentException(
           "Trying to download report file with unsupported type " + strFileName);
