chore: Add comment above fix for future reference
This commit is contained in:
parent
048210a8f6
commit
48886ee705
@ -88,6 +88,8 @@ 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user