BugFix: Item search in Stock UOM Replace Utility

This commit is contained in:
Anand Doshi 2014-04-26 11:59:28 +05:30
parent ac87c1d618
commit 6916baa299

View File

@ -3,7 +3,9 @@
$.extend(cur_frm.cscript, { $.extend(cur_frm.cscript, {
onload: function() { onload: function() {
cur_frm.set_query("item_code", erpnext.queries.item); cur_frm.set_query("item_code", function() {
return erpnext.queries.item({"is_stock_item": "Yes"});
});
}, },
item_code: function() { item_code: function() {