fix: correct sql output format in CRM patch (#32213)
This commit is contained in:
parent
87160c8d2f
commit
97977cdb4b
@ -12,7 +12,7 @@ def execute():
|
|||||||
frappe.qb.from_(dt)
|
frappe.qb.from_(dt)
|
||||||
.select(dt.name, dt.notes, dt.modified_by, dt.modified)
|
.select(dt.name, dt.notes, dt.modified_by, dt.modified)
|
||||||
.where(dt.notes.isnotnull() & dt.notes != "")
|
.where(dt.notes.isnotnull() & dt.notes != "")
|
||||||
).run()
|
).run(as_dict=True)
|
||||||
|
|
||||||
for d in records:
|
for d in records:
|
||||||
if strip_html(cstr(d.notes)).strip():
|
if strip_html(cstr(d.notes)).strip():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user