Merge branch 'master' into develop
This commit is contained in:
commit
f73e8d0404
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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