[Minor] Displaying 'for warehouse' while creating Material request from BOM
This commit is contained in:
parent
6f8dfa4c8d
commit
405b66898e
@ -125,7 +125,7 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten
|
|||||||
var d = frappe.model.add_child(cur_frm.doc, "Material Request Item", "items");
|
var d = frappe.model.add_child(cur_frm.doc, "Material Request Item", "items");
|
||||||
d.item_code = item.item_code;
|
d.item_code = item.item_code;
|
||||||
d.description = item.description;
|
d.description = item.description;
|
||||||
d.warehouse = d.warehouse;
|
d.warehouse = values.warehouse;
|
||||||
d.uom = item.stock_uom;
|
d.uom = item.stock_uom;
|
||||||
d.qty = item.qty;
|
d.qty = item.qty;
|
||||||
});
|
});
|
||||||
@ -171,7 +171,6 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
raise_production_orders: function() {
|
raise_production_orders: function() {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method:"erpnext.stock.doctype.material_request.material_request.raise_production_orders",
|
method:"erpnext.stock.doctype.material_request.material_request.raise_production_orders",
|
||||||
@ -198,5 +197,3 @@ cur_frm.cscript['Unstop Material Request'] = function(){
|
|||||||
cur_frm.refresh();
|
cur_frm.refresh();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user