fix: clear throw message

This commit is contained in:
Shariq Ansari 2023-06-14 12:11:21 +05:30
parent d1aea9981a
commit fd65fe8625

View file

@ -497,6 +497,7 @@ def delete_bulk(doctype, items):
undeleted_items.append(d)
frappe.db.rollback()
if undeleted_items and len(items) != len(undeleted_items):
frappe.clear_messages()
delete_bulk(doctype, undeleted_items)