Merge pull request #21158 from scmmishra/coa_importer

fix: TypeError for _ in coa importer
This commit is contained in:
Deepesh Garg
2020-04-03 18:34:44 +05:30
committed by GitHub

View File

@@ -108,7 +108,7 @@ def build_forest(data):
error_messages = []
for i in data:
account_name, _, account_number, is_group, account_type, root_type = i
account_name, __, account_number, is_group, account_type, root_type = i
if not account_name:
error_messages.append("Row {0}: Please enter Account Name".format(line_no))