fix: cast value to Number type
diff --git a/erpnext/public/js/utils/barcode_scanner.js b/erpnext/public/js/utils/barcode_scanner.js
index 1cf8716..51ee680 100644
--- a/erpnext/public/js/utils/barcode_scanner.js
+++ b/erpnext/public/js/utils/barcode_scanner.js
@@ -122,7 +122,7 @@
 		return new Promise(resolve => {
 			const increment = (value = 1) => {
 				const item_data = {item_code: item_code};
-				item_data[this.qty_field] = (row[this.qty_field] || 0) + value;
+				item_data[this.qty_field] = Number((row[this.qty_field] || 0)) + Number(value);
 				frappe.model.set_value(row.doctype, row.name, item_data);
 			};