From 44a16bb544061b07778ae8e150e9fc575226e688 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Fri, 14 Feb 2025 17:26:50 +0530 Subject: [PATCH] fix: on selection of batch qty is not fetching --- 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 6fd7f7f4588..ee6b5de28cd 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -381,7 +381,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector { query: "erpnext.controllers.queries.get_batch_no", }; }, - change: function () { + onchange: function () { const batch_no = this.get_value(); if (!batch_no) { this.grid_row.on_grid_fields_dict.available_qty.set_value(0);