Fetching the item details from the reference doctype in quality inspection
Error Report [2016-12-29]
This commit is contained in:
parent
ae25e0da88
commit
5c82e9ef8b
@ -9,7 +9,7 @@ cur_frm.fields_dict['item_code'].get_query = function(doc, cdt, cdn) {
|
||||
return {
|
||||
query: "erpnext.stock.doctype.quality_inspection.quality_inspection.item_query",
|
||||
filters: {
|
||||
"from": doc.reference_type,
|
||||
"from": doc.reference_type + " Item",
|
||||
"parent": doc.reference_name
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user