fix: correct sql output format in CRM patch (#32213)

This commit is contained in:
Ankush Menat 2022-09-14 19:19:05 +05:30 committed by GitHub
parent 87160c8d2f
commit 97977cdb4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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():