[fix] get items from bom in material request

This commit is contained in:
Nabin Hait 2015-07-31 11:01:39 +05:30
parent b3b059b0ea
commit 1755a5f298

View File

@ -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,