mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
@@ -365,6 +365,12 @@ frappe.ui.form.on("Material Request", {
|
|||||||
description: __(
|
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."
|
"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) => {
|
(values) => {
|
||||||
frappe.model.open_mapped_doc({
|
frappe.model.open_mapped_doc({
|
||||||
|
|||||||
Reference in New Issue
Block a user