fix: on selection of batch qty is not fetching

This commit is contained in:
Rohit Waghchaure
2025-02-14 17:26:50 +05:30
parent c65f421da9
commit 44a16bb544

View File

@@ -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);