Skip to content

Commit

Permalink
chore: Remove qb doc reference
Browse files Browse the repository at this point in the history
(cherry picked from commit 4b99217)
  • Loading branch information
deepeshgarg007 authored and mergify[bot] committed Nov 13, 2022
1 parent d6901e5 commit 9c9c660
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions erpnext/accounts/doctype/bank_guarantee/bank_guarantee.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 9c9c660

Please sign in to comment.