diff --git a/frappe/__init__.py b/frappe/__init__.py index 8ca478e11d..23b69f19f0 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json from .exceptions import * from .utils.jinja import get_jenv, get_template, render_template -__version__ = '7.1.22' +__version__ = '7.1.23' __title__ = "Frappe Framework" local = Local() diff --git a/frappe/patches/v7_0/update_report_builder_json.py b/frappe/patches/v7_0/update_report_builder_json.py index 20f758e163..a344ca5412 100644 --- a/frappe/patches/v7_0/update_report_builder_json.py +++ b/frappe/patches/v7_0/update_report_builder_json.py @@ -6,7 +6,7 @@ import frappe def execute(): for report in frappe.db.sql_list(""" select name from `tabReport` where report_type = 'Report Builder' - and is_standard = 'No'"""): + and is_standard = 'No' and `json` != '' and `json` is not null """): doc = frappe.get_doc("Report", report) doc.update_report_json() doc.db_set("json", doc.json, update_modified=False) \ No newline at end of file