From 5d07beee61102c2b5ab171dabc62dae6400e56c8 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 --- .../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 ac56449efa8..0fc9fcf357d 100644 --- a/erpnext/manufacturing/doctype/production_plan/production_plan.py +++ b/erpnext/manufacturing/doctype/production_plan/production_plan.py @@ -951,8 +951,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: