fix: only select serial no that are present in the selected batch (#18726)
This commit is contained in:
@@ -70,8 +70,9 @@ $.extend(erpnext, {
|
|||||||
"get_query": function () {
|
"get_query": function () {
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
item_code:grid_row.doc.item_code,
|
item_code: grid_row.doc.item_code,
|
||||||
warehouse:cur_frm.doc.is_return ? null : grid_row.doc.warehouse
|
warehouse: cur_frm.doc.is_return ? null : grid_row.doc.warehouse,
|
||||||
|
batch_no: grid_row.doc.batch_no || null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user