From 74a7ddf66d6fb4f4139dd8a89e6a8a5ca4e0e06d Mon Sep 17 00:00:00 2001 From: venkat102 Date: Tue, 14 Oct 2025 13:19:37 +0530 Subject: [PATCH] fix(stock-entry): fetch empty batch for finished item --- erpnext/public/js/utils/serial_no_batch_selector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js index e02d7a3d785..996ee949a13 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -457,7 +457,8 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate { (["Purchase Receipt", "Purchase Invoice"].includes(this.frm.doc.doctype) && !this.frm.doc.is_return) || (this.frm.doc.doctype === "Stock Entry" && - this.frm.doc.purpose === "Material Receipt") + (this.frm.doc.purpose === "Material Receipt" || + (this.frm.doc.purpose === "Manufacture" && this.item.is_finished_item))) ) { is_inward = true; }