mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 00:06:22 +00:00
Fetching the item details from the reference doctype in quality inspection
Error Report [2016-12-29]
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user