From 1755a5f298468ef0e61e45aee605d64a5a19ccdd Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 31 Jul 2015 11:01:39 +0530 Subject: [PATCH] [fix] get items from bom in material request --- erpnext/stock/doctype/material_request/material_request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js index 4bc8fc059b..a7b9df4ec1 100644 --- a/erpnext/stock/doctype/material_request/material_request.js +++ b/erpnext/stock/doctype/material_request/material_request.js @@ -115,7 +115,7 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten d.get_input("fetch").on("click", function() { var values = d.get_values(); if(!values) return; - + values["company"] = cur_frm.doc.company; frappe.call({ method: "erpnext.manufacturing.doctype.bom.bom.get_bom_items", args: values,