commit | 9d295ca93972679773f1de806a2992819250a1c0 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Thu Jul 01 18:56:51 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Sun Jul 04 20:33:36 2021 +0530 |
tree | 3730e324ecd9e7a1f26aa61db2065facd285c4a8 | |
parent | 0a79cfa17044ec0e8f8ccbb31107ed39fa52edc0 [diff] |
fix: Bank statement import
diff --git a/erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py b/erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py index 5f110e2..ffc9d1c 100644 --- a/erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py +++ b/erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py
@@ -51,7 +51,7 @@ self.import_file, self.google_sheets_url ) - if 'Bank Account' not in json.dumps(preview): + if 'Bank Account' not in json.dumps(preview['columns']): frappe.throw(_("Please add the Bank Account column")) from frappe.core.page.background_jobs.background_jobs import get_info