diff --git a/frappe/desk/query_report.py b/frappe/desk/query_report.py index 9ce15ef361..eda61c6985 100644 --- a/frappe/desk/query_report.py +++ b/frappe/desk/query_report.py @@ -167,7 +167,7 @@ def run(report_name, filters=None, user=None, ignore_prepared_report=False, cust result = None - if report.prepared_report and not report.disable_prepared_report and not ignore_prepared_report: + if report.prepared_report and not report.disable_prepared_report and not ignore_prepared_report and not custom_columns: if filters: if isinstance(filters, string_types): filters = json.loads(filters)