From bebb8ae1ea7b66707e7ccc4b9a2c8a1415e0969a Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Tue, 16 Sep 2025 11:57:43 +0530 Subject: [PATCH] fix: set basic rate on selection of the batch --- erpnext/stock/doctype/stock_entry/stock_entry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 6237d6a3453..1b7e9915f5f 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -962,6 +962,7 @@ frappe.ui.form.on("Stock Entry Detail", { }); } + frm.events.set_basic_rate(frm, cdt, cdn); validate_sample_quantity(frm, cdt, cdn); },