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