fix: change get_url_to_form to get_link_to_form

(cherry picked from commit 5d07beee61)
This commit is contained in:
Mihir Kandoi
2025-04-22 15:50:02 +05:30
committed by Mergify
parent a09ab902e5
commit 982a68b71a

View File

@@ -915,8 +915,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: