mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 04:58:29 +00:00
fix: available qty not fetched on selection of batch
This commit is contained in:
@@ -381,7 +381,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector {
|
|||||||
query: "erpnext.controllers.queries.get_batch_no",
|
query: "erpnext.controllers.queries.get_batch_no",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onchange: function () {
|
change: function () {
|
||||||
const batch_no = this.get_value();
|
const batch_no = this.get_value();
|
||||||
if (!batch_no) {
|
if (!batch_no) {
|
||||||
this.grid_row.on_grid_fields_dict.available_qty.set_value(0);
|
this.grid_row.on_grid_fields_dict.available_qty.set_value(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user