From 5ec27c90552ab5c95ef734bb620a0e1bdd5256ee Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Sat, 19 Mar 2022 17:48:43 +0530 Subject: [PATCH] fix: filter serial nos by selected batch number --- erpnext/public/js/utils/serial_no_batch_selector.js | 2 +- 1 file changed, 1 insertion(+), 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 79864b717c..ae8d3d455c 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -100,7 +100,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector { qty: qty, item_code: me.item_code, warehouse: typeof me.warehouse_details.name == "string" ? me.warehouse_details.name : '', - batch_no: me.item.batch_no || null, + batch_nos: me.item.batch_no || null, posting_date: me.frm.doc.posting_date || me.frm.doc.transaction_date } });