diff --git a/src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java b/src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java
index 97afb2f4fc..7257448efb 100644
--- a/src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java
+++ b/src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java
@@ -11,13 +11,14 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2017-2018 Openbravo SLU 
+ * All portions are Copyright (C) 2017-2021 Openbravo SLU
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
  */
 package org.openbravo.test.reporting;
 
+import java.io.BufferedReader;
 import java.io.IOException;
 import java.nio.file.FileSystems;
 import java.nio.file.FileVisitResult;
@@ -80,7 +81,6 @@ public class AllJrxmlCompilation extends WeldBaseTest {
 
   private static Collection<Path> getJrxmlTemplates(String dir) throws IOException {
     final Collection<Path> allJasperFiles = new ArrayList<>();
-
     final PathMatcher matcher = FileSystems.getDefault().getPathMatcher("regex:.*\\.jrxml");
     Path basePath = Paths.get(
         OBPropertiesProvider.getInstance().getOpenbravoProperties().getProperty("source.path"),
@@ -88,6 +88,21 @@ public class AllJrxmlCompilation extends WeldBaseTest {
     Files.walkFileTree(basePath, new SimpleFileVisitor<Path>() {
       @Override
       public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
+        if (Files.exists(file)) {
+          try (BufferedReader fileReader = Files.newBufferedReader(file)) {
+            while (fileReader.ready()) {
+              String line = fileReader.readLine();
+              if (line.contains("com.openbravo.pos")) {
+                // Ignore files that contain hwmanager logic as these are not intended to be
+                // compiled in backoffice
+                return FileVisitResult.CONTINUE;
+              }
+            }
+          } catch (IOException ignore) {
+            // Files that were not able to be read and parsed because of an IOException we will
+            // try to compile
+          }
+        }
         if (matcher.matches(file)) {
           allJasperFiles.add(file);
         }
