fix: consider full integer batch nos
diff --git a/erpnext/stock/doctype/serial_no/serial_no.py b/erpnext/stock/doctype/serial_no/serial_no.py
index 96f87a9..4c06012 100644
--- a/erpnext/stock/doctype/serial_no/serial_no.py
+++ b/erpnext/stock/doctype/serial_no/serial_no.py
@@ -597,8 +597,8 @@
batch_nos = safe_json_loads(batch_nos)
if isinstance(batch_nos, list):
filters.batch_no = batch_nos
- elif isinstance(batch_nos, str):
- filters.batch_no = [batch_nos]
+ else:
+ filters.batch_no = [str(batch_nos)]
if posting_date:
filters.expiry_date = posting_date