commit | 5c82e9ef8bda3c27da4548da3c5b5950ba8c0103 | [log] [tgz] |
---|---|---|
author | Manas Solanki <manas@erpnext.com> | Thu Dec 29 17:30:18 2016 +0530 |
committer | Manas Solanki <manas@erpnext.com> | Thu Dec 29 18:01:25 2016 +0530 |
tree | 02dd9794057df07b549561b93ffe237dab5277d4 | |
parent | ae25e0da8887a57115ead7132070e430026d3be2 [diff] |
Fetching the item details from the reference doctype in quality inspection Error Report [2016-12-29]
diff --git a/erpnext/stock/doctype/quality_inspection/quality_inspection.js b/erpnext/stock/doctype/quality_inspection/quality_inspection.js index 5d7b6b4..53579fb 100644 --- a/erpnext/stock/doctype/quality_inspection/quality_inspection.js +++ b/erpnext/stock/doctype/quality_inspection/quality_inspection.js
@@ -9,7 +9,7 @@ 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 } }