Merge pull request #49159 from frappe/mergify/bp/version-15/pr-49158

chore: convert message to toast notification (backport #49155) (backport #49158)
This commit is contained in:
rohitwaghchaure
2025-08-14 11:32:20 +05:30
committed by GitHub

View File

@@ -473,7 +473,12 @@ def get_parent_row_no(doc, name):
if row.name == name:
return row.idx
frappe.msgprint(_("Parent Row No not found for {0}").format(name))
if name == doc.name:
return None
frappe.msgprint(_("Parent Row No not found for {0}").format(name), alert=True)
return None
@frappe.whitelist()