From da77cc329e28d95f84783d98dbd204addb39d0e8 Mon Sep 17 00:00:00 2001 From: Tyler Matteson Date: Wed, 29 May 2024 09:43:58 -0400 Subject: [PATCH] fix: bankaccount => bank typing (#247) --- check_run/overrides/bank.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_run/overrides/bank.py b/check_run/overrides/bank.py index 802f170c..6282172d 100644 --- a/check_run/overrides/bank.py +++ b/check_run/overrides/bank.py @@ -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")