fix: use correct filter name in reports
This commit is contained in:
parent
a067a904a1
commit
def759d2e8
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user