fix: correct sql output format in CRM patch (#32213)
(cherry picked from commit 97977cdb4b)
Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
@@ -12,7 +12,7 @@ def execute():
|
||||
frappe.qb.from_(dt)
|
||||
.select(dt.name, dt.notes, dt.modified_by, dt.modified)
|
||||
.where(dt.notes.isnotnull() & dt.notes != "")
|
||||
).run()
|
||||
).run(as_dict=True)
|
||||
|
||||
for d in records:
|
||||
if strip_html(cstr(d.notes)).strip():
|
||||
|
||||
Reference in New Issue
Block a user