From 837ffbddbc84518d9bbb7e425d15923ffb179714 Mon Sep 17 00:00:00 2001 From: pratu16x7 Date: Thu, 8 Jun 2017 05:40:45 +0530 Subject: [PATCH] [minor] --- erpnext/stock/doctype/stock_entry/stock_entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 49f0b997f1..82e3dfcecb 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -798,7 +798,7 @@ erpnext.stock.bind_batch_serial_dialog_qty = (dialog, warehouse_details) => { }); serial_no_list_field.$input.on('input', function() { - serial_list = $(this).get_value().replace(/\s+/g, ' ').split(' '); + serial_list = serial_no_list_field.get_value().replace(/\s+/g, ' ').split(' '); update_quantity(0); }); }