mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
BugFix: Item search in Production Planning Tool
This commit is contained in:
@@ -33,7 +33,7 @@ cur_frm.cscript.download_materials_required = function(doc, cdt, cdn) {
|
|||||||
|
|
||||||
cur_frm.fields_dict['pp_details'].grid.get_field('item_code').get_query = function(doc) {
|
cur_frm.fields_dict['pp_details'].grid.get_field('item_code').get_query = function(doc) {
|
||||||
return erpnext.queries.item({
|
return erpnext.queries.item({
|
||||||
'ifnull(tabItem.is_pro_applicable, "No")': 'Yes'
|
'is_pro_applicable': 'Yes'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user