Skip to content

Commit

Permalink
fix: bankaccount => bank typing (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
agritheory authored May 29, 2024
1 parent 160f609 commit da77cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_run/overrides/bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# For license information, please see license.txt

import frappe
from erpnext.accounts.doctype.bank_account.bank_account import BankAccount
from erpnext.accounts.doctype.bank.bank import Bank


@frappe.whitelist()
def validate(doc: BankAccount, method: str | None = None):
def validate(doc: Bank, method: str | None = None):
# Canadian banking institutions limit DFI Routing Numbers to 8 characters
addresses = frappe.qb.DocType("Address")
dls = frappe.qb.DocType("Dynamic Link")
Expand Down

0 comments on commit da77cc3

Please sign in to comment.