fix: get_link_to_form for serial and batch bundle

This commit is contained in:
Rohit Waghchaure
2024-04-13 15:01:42 +05:30
parent a6ed77d378
commit 18ca953d5a

View File

@@ -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"),
)