fix: change get_url_to_form to get_link_to_form

This commit is contained in:
Mihir Kandoi
2025-04-22 15:50:02 +05:30
parent eaaf34cda6
commit 5d07beee61

View File

@@ -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: