mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix: Error on adding bank account to plaid (#25658)
This commit is contained in:
@@ -90,9 +90,9 @@ def add_bank_accounts(response, bank, company):
|
|||||||
"bank": bank["bank_name"],
|
"bank": bank["bank_name"],
|
||||||
"account": default_gl_account.account,
|
"account": default_gl_account.account,
|
||||||
"account_name": account["name"],
|
"account_name": account["name"],
|
||||||
"account_type": account["type"] or "",
|
"account_type": account.get("type", ""),
|
||||||
"account_subtype": account["subtype"] or "",
|
"account_subtype": account.get("subtype", ""),
|
||||||
"mask": account["mask"] or "",
|
"mask": account.get("mask", ""),
|
||||||
"integration_id": account["id"],
|
"integration_id": account["id"],
|
||||||
"is_company_account": 1,
|
"is_company_account": 1,
|
||||||
"company": company
|
"company": company
|
||||||
|
|||||||
Reference in New Issue
Block a user