minor fix

This commit is contained in:
Nabin Hait 2015-07-27 17:09:07 +05:30
parent 7e8d7d05ef
commit b71471fcb5

View File

@ -34,7 +34,7 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend(
},
make_stock_entry: function() {
var items = $.map(cur_frm.doc.items, function(d) { return d.bom ? d.item_code : false; }),
var items = $.map(cur_frm.doc.items, function(d) { return d.bom ? d.item_code : false; });
var me = this;
if(items.length===1) {