Skip to content

Commit

Permalink
perf: lesser SQL queries and no validation
Browse files Browse the repository at this point in the history
Co-authored-by: Sagar Vora <sagar@resilient.tech>
(cherry picked from commit 2a100ab)
  • Loading branch information
nabinhait authored and mergify[bot] committed Sep 13, 2022
1 parent 28b1d4e commit 7bb5f6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ def execute():
if strip_html(cstr(d.notes)).strip():
doc = frappe.get_doc(doctype, d.name)
doc.append("notes", {"note": d.notes, "added_by": d.modified_by, "added_on": d.modified})
doc.save()
doc.update_child_table("notes")

0 comments on commit 7bb5f6e

Please sign in to comment.