[minor]
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js
index 49f0b99..82e3dfc 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.js
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.js
@@ -798,7 +798,7 @@
});
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);
});
}