commit | 26dc02aa38fe85018726adc8b08d5d36dd44409d | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Tue Jul 06 16:14:13 2021 +0530 |
committer | GitHub <noreply@github.com> | Tue Jul 06 16:14:13 2021 +0530 |
tree | 71d2c564816531ecce5d4e742278255bcfe1276f | |
parent | 9d295ca93972679773f1de806a2992819250a1c0 [diff] | |
parent | 381c05eb871cf70dd83c958855fb7bb1a14a0dad [diff] |
Merge branch 'develop' into bank_statement_import_fix_develop
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