commit | 7e4b6683e6a51777530701e390f8c98589950160 | [log] [tgz] |
---|---|---|
author | Ankush Menat <ankush@frappe.io> | Tue Jul 11 18:19:29 2023 +0530 |
committer | Ankush Menat <ankush@frappe.io> | Tue Jul 11 18:19:50 2023 +0530 |
tree | 49538da3c6fe33af272df336e081e7f8c7e0311f | |
parent | be5881280fae54c1de9d0cbb4f90d54f958aa7ed [diff] |
fix: Dont bold URL parts closes https://github.com/frappe/frappe/issues/21445
diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index 93d799a..ef4155e 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py
@@ -773,7 +773,7 @@ rows = "" for docname, attr_list in not_included.items(): - link = "<a href='/app/Form/Item/{0}'>{0}</a>".format(frappe.bold(_(docname))) + link = f"<a href='/app/item/{docname}'>{frappe.bold(docname)}</a>" rows += table_row(link, body(attr_list)) error_description = _(