fix: use correct filter name in reports

This commit is contained in:
Daizy Modi 2023-01-25 15:49:06 +05:30
parent a067a904a1
commit def759d2e8
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: {
"from": "Supplier Quotation Item",
"doctype": "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 = {
"from": doctype,
"doctype": doctype,
"inspection_type": doc.inspection_type
};