fix: filter serial no based on batch no
This commit is contained in:
@@ -90,7 +90,8 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
||||
args: {
|
||||
qty: qty,
|
||||
item_code: me.item_code,
|
||||
warehouse: me.warehouse_details.name
|
||||
warehouse: me.warehouse_details.name,
|
||||
batch_no: me.item.batch_no || null
|
||||
}
|
||||
});
|
||||
|
||||
@@ -392,7 +393,7 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
||||
delivery_document_no: ""
|
||||
}
|
||||
|
||||
if (this.has_batch) {
|
||||
if (this.item.batch_no) {
|
||||
serial_no_filters["batch_no"] = this.item.batch_no;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user