Merge pull request #51261 from rohitwaghchaure/fixed-support-53592

fix: available qty not fetched on selection of batch
This commit is contained in:
rohitwaghchaure
2025-12-22 16:52:30 +05:30
committed by GitHub

View File

@@ -381,7 +381,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector {
query: "erpnext.controllers.queries.get_batch_no",
};
},
onchange: function () {
change: function () {
const batch_no = this.get_value();
if (!batch_no) {
this.grid_row.on_grid_fields_dict.available_qty.set_value(0);