From 982a68b71a7215168ad8075e900582689229ea2b Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Tue, 22 Apr 2025 15:50:02 +0530 Subject: [PATCH] fix: change get_url_to_form to get_link_to_form (cherry picked from commit 5d07beee61102c2b5ab171dabc62dae6400e56c8) --- .../manufacturing/doctype/production_plan/production_plan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.py b/erpnext/manufacturing/doctype/production_plan/production_plan.py index 03845d656f4..ddb3a8860ec 100644 --- a/erpnext/manufacturing/doctype/production_plan/production_plan.py +++ b/erpnext/manufacturing/doctype/production_plan/production_plan.py @@ -915,8 +915,7 @@ class ProductionPlan(Document): if material_request_list: material_request_list = [ - f"""{m.name}""" - 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: