Skip to content

Commit

Permalink
fix(Diagnostic Report): remove doc from is_new()
Browse files Browse the repository at this point in the history
  • Loading branch information
aibelshajan authored and akashkrishna619 committed Apr 2, 2024
1 parent 4f1285a commit 7e8ae54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ frappe.ui.form.on("Diagnostic Report", {
}
},
before_save: function(frm) {
if (!frm.doc.is_new() && frm.is_dirty()) {
if (!frm.is_new() && frm.is_dirty()) {
this.diagnostic_report.save_action("save")
}
},
Expand Down

0 comments on commit 7e8ae54

Please sign in to comment.