Fixed patch
This commit is contained in:
parent
c99179746d
commit
03e7957cd6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue