diff --git a/erpnext/stock/reorder_item.py b/erpnext/stock/reorder_item.py index 8955c7f46e6..dc6168f52ac 100644 --- a/erpnext/stock/reorder_item.py +++ b/erpnext/stock/reorder_item.py @@ -290,7 +290,7 @@ def create_material_request(material_requests): except Exception as exception: frappe.db.rollback(save_point="reorder_mr") exceptions_list.append(exception) - mr.log_error("Unable to create material request") + frappe.log_error(title="Unable to create material request") if company_wise_mr: if getattr(frappe.local, "reorder_email_notify", None) is None: