chore: Add supplier query back
diff --git a/erpnext/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js
index 0b77465..f04acc8 100644
--- a/erpnext/stock/doctype/material_request/material_request.js
+++ b/erpnext/stock/doctype/material_request/material_request.js
@@ -365,6 +365,12 @@
description: __(
"Select a Supplier from the Default Suppliers of the items below. On selection, a Purchase Order will be made against items belonging to the selected Supplier only."
),
+ get_query: () => {
+ return {
+ query: "erpnext.stock.doctype.material_request.material_request.get_default_supplier_query",
+ filters: { doc: frm.doc.name },
+ };
+ },
},
(values) => {
frappe.model.open_mapped_doc({