Revert "fix: use correct filter name in reports"

This commit is contained in:
Sagar Vora 2023-01-25 16:19:44 +05:30 committed by GitHub
parent 58dab9ca8b
commit 1f4fa90072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ frappe.query_reports["Supplier Quotation Comparison"] = {
return {
query: "erpnext.stock.doctype.quality_inspection.quality_inspection.item_query",
filters: {
"doctype": "Supplier Quotation Item",
"from": "Supplier Quotation Item",
"parent": quote
}
}

View File

@ -36,7 +36,7 @@ frappe.ui.form.on("Quality Inspection", {
if (doc.reference_type && doc.reference_name) {
let filters = {
"doctype": doctype,
"from": doctype,
"inspection_type": doc.inspection_type
};