Merge pull request #3726 from nabinhait/fix1

minor fix
This commit is contained in:
Nabin Hait 2015-07-27 17:09:38 +05:30
commit 0166e9e47a

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) {