mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
Merge pull request #49158 from frappe/mergify/bp/version-15-hotfix/pr-49155
chore: convert message to toast notification (backport #49155)
This commit is contained in:
@@ -473,7 +473,12 @@ def get_parent_row_no(doc, name):
|
|||||||
if row.name == name:
|
if row.name == name:
|
||||||
return row.idx
|
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()
|
@frappe.whitelist()
|
||||||
|
|||||||
Reference in New Issue
Block a user