mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-27 00:26:03 +00:00
fix: Remove warehouse filter on Batch field for Material Receipt
(cherry picked from commit 048210a8f6)
This commit is contained in:
@@ -78,7 +78,9 @@ frappe.ui.form.on('Stock Entry', {
|
||||
}
|
||||
}
|
||||
|
||||
filters["warehouse"] = item.s_warehouse || item.t_warehouse;
|
||||
if (frm.doc.purpose != "Material Receipt") {
|
||||
filters["warehouse"] = item.s_warehouse || item.t_warehouse;
|
||||
}
|
||||
|
||||
return {
|
||||
query : "erpnext.controllers.queries.get_batch_no",
|
||||
|
||||
Reference in New Issue
Block a user