Merge pull request #28195 from marination/se-batch-filter
fix: (ux) Remove warehouse filter on Batch field for Material Receipt
This commit is contained in:
commit
11c0b37658
@ -88,7 +88,11 @@ frappe.ui.form.on('Stock Entry', {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// User could want to select a manually created empty batch (no warehouse)
|
||||||
|
// or a pre-existing batch
|
||||||
|
if (frm.doc.purpose != "Material Receipt") {
|
||||||
filters["warehouse"] = item.s_warehouse || item.t_warehouse;
|
filters["warehouse"] = item.s_warehouse || item.t_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
query : "erpnext.controllers.queries.get_batch_no",
|
query : "erpnext.controllers.queries.get_batch_no",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user