From 18ca953d5aa7525713cd40be548aedbf260ded85 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Sat, 13 Apr 2024 15:01:42 +0530 Subject: [PATCH] fix: get_link_to_form for serial and batch bundle --- erpnext/stock/doctype/stock_entry/stock_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py index 37bdbacffe5..c0ec35949ff 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/stock_entry.py @@ -1373,7 +1373,7 @@ class StockEntry(StockController): frappe.throw( _( "The Serial and Batch Bundle {0} is not valid for this transaction. The 'Type of Transaction' should be 'Outward' instead of 'Inward' in Serial and Batch Bundle {0}" - ).format(get_link_to_form(serial_and_batch_bundle)), + ).format(get_link_to_form("Serial and Batch Bundle", serial_and_batch_bundle)), title=_("Invalid Serial and Batch Bundle"), )