mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
Merge pull request #50628 from frappe/mergify/bp/version-15-hotfix/pr-50627
fix: show current company warehouse only in get material from bom MR (backport #50627)
This commit is contained in:
@@ -332,6 +332,9 @@ frappe.ui.form.on("Material Request", {
|
||||
label: __("For Warehouse"),
|
||||
options: "Warehouse",
|
||||
reqd: 1,
|
||||
get_query: function () {
|
||||
return { filters: { company: frm.doc.company } };
|
||||
},
|
||||
},
|
||||
{ fieldname: "qty", fieldtype: "Float", label: __("Quantity"), reqd: 1, default: 1 },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user