diff --git a/InvenTree/report/apps.py b/InvenTree/report/apps.py index 43c52b1997..21b3cc380e 100644 --- a/InvenTree/report/apps.py +++ b/InvenTree/report/apps.py @@ -19,7 +19,7 @@ class ReportConfig(AppConfig): This function is called whenever the report app is loaded """ - if canAppAccessDatabase(): + if canAppAccessDatabase(allow_test=True): self.create_default_test_reports() self.create_default_build_reports() diff --git a/InvenTree/report/views.py b/InvenTree/report/views.py deleted file mode 100644 index a2b5079b33..0000000000 --- a/InvenTree/report/views.py +++ /dev/null @@ -1,2 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals