diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py
index 93d799a3951..ef4155e48ab 100644
--- a/erpnext/stock/doctype/item/item.py
+++ b/erpnext/stock/doctype/item/item.py
@@ -773,7 +773,7 @@ class Item(Document):
rows = ""
for docname, attr_list in not_included.items():
- link = "{0}".format(frappe.bold(_(docname)))
+ link = f"{frappe.bold(docname)}"
rows += table_row(link, body(attr_list))
error_description = _(