chore: Remove qb doc reference

This commit is contained in:
Deepesh Garg 2022-11-13 18:48:32 +05:30
parent 42a59d5c17
commit 4b9921782b

View File

@ -33,6 +33,4 @@ def get_voucher_details(bank_guarantee_type, reference_name):
else:
fields_to_fetch.append("supplier")
bg_doctype = frappe.qb.DocType("Bank Guarantee")
return frappe.db.get_value(doctype, reference_name, fields_to_fetch, as_dict=True)