From 00558af873fe1a64496173d9928d0ddcdffb2350 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 17 Nov 2022 14:24:59 +0530 Subject: [PATCH] chore: typo --- erpnext/stock/doctype/quality_inspection/quality_inspection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/quality_inspection/quality_inspection.py b/erpnext/stock/doctype/quality_inspection/quality_inspection.py index e44e1b7e9d6..9321c2c166b 100644 --- a/erpnext/stock/doctype/quality_inspection/quality_inspection.py +++ b/erpnext/stock/doctype/quality_inspection/quality_inspection.py @@ -222,7 +222,7 @@ def item_query(doctype, txt, searchfield, start, page_len, filters): from frappe.desk.reportview import get_match_cond from_doctype = cstr(filters.get("doctype")) - if not from_doctype or not frappe.db.exist("DocType", from_doctype): + if not from_doctype or not frappe.db.exists("DocType", from_doctype): return [] mcond = get_match_cond(from_doctype)