Merge pull request #33813 from frappe/revert-33810-fix-quality-inspection-item-query

Revert "fix: use correct filter name in reports"
This commit is contained in:
Sagar Vora 2023-01-25 10:50:03 +00:00 committed by GitHub
commit 41222659a6
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
};