Parcourir la source

Merge pull request #980 from nabinhait/fix1

Minor fix
version-14
Nabin Hait il y a 10 ans
Parent
révision
56acabcb22
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      frappe/widgets/query_report.py

+ 1
- 1
frappe/widgets/query_report.py Voir le fichier

@@ -69,7 +69,7 @@ def run(report_name, filters=()):
frappe.msgprint(_("Must have report permission to access this report."),
raise_exception=True)

columns, results = [], []
columns, result = [], []
if report.report_type=="Query Report":
if not report.query:
frappe.msgprint(_("Must specify a Query to run"), raise_exception=True)


Chargement…
Annuler
Enregistrer