mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 12:25:09 +00:00
fix: change get_url_to_form to get_link_to_form
(cherry picked from commit 5d07beee61)
This commit is contained in:
@@ -915,8 +915,7 @@ class ProductionPlan(Document):
|
|||||||
|
|
||||||
if material_request_list:
|
if material_request_list:
|
||||||
material_request_list = [
|
material_request_list = [
|
||||||
f"""<a href="{get_url_to_form("Material Request", m.name)}">{m.name}</a>"""
|
get_link_to_form("Material Request", m.name) for m in material_request_list
|
||||||
for m in material_request_list
|
|
||||||
]
|
]
|
||||||
msgprint(_("{0} created").format(comma_and(material_request_list)))
|
msgprint(_("{0} created").format(comma_and(material_request_list)))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user