BugFix: Item search in Stock UOM Replace Utility
This commit is contained in:
parent
ac87c1d618
commit
6916baa299
@ -3,7 +3,9 @@
|
||||
|
||||
$.extend(cur_frm.cscript, {
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user