mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
BugFix: Item search in Stock UOM Replace Utility
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user