Sales BOM Parent Item search - Fixes #1544
This commit is contained in:
parent
04f8990c11
commit
f62da519d6
@ -12,7 +12,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
|||||||
|
|
||||||
cur_frm.fields_dict.new_item_code.get_query = function() {
|
cur_frm.fields_dict.new_item_code.get_query = function() {
|
||||||
return{
|
return{
|
||||||
query: "selling.doctype.sales_bom.sales_bom.get_new_item_code"
|
query: "erpnext.selling.doctype.sales_bom.sales_bom.get_new_item_code"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cur_frm.fields_dict.new_item_code.query_description = __('Please select Item where "Is Stock Item" is "No" and "Is Sales Item" is "Yes" and there is no other Sales BOM');
|
cur_frm.fields_dict.new_item_code.query_description = __('Please select Item where "Is Stock Item" is "No" and "Is Sales Item" is "Yes" and there is no other Sales BOM');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user