Skip to content

Commit

Permalink
fix: Column value mismatch in COA blank template (#34658)
Browse files Browse the repository at this point in the history
fix: Column value mismatch in COA blank template (#34658)

(cherry picked from commit 576575c)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
  • Loading branch information
mergify[bot] and deepeshgarg007 authored Mar 31, 2023
1 parent e98e64f commit 5e03a4e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,14 @@ def get_template(template_type):

if template_type == "Blank Template":
for root_type in get_root_types():
writer.writerow(["", "", "", 1, "", root_type])
writer.writerow(["", "", "", "", 1, "", root_type])

for account in get_mandatory_group_accounts():
writer.writerow(["", "", "", 1, account, "Asset"])
writer.writerow(["", "", "", "", 1, account, "Asset"])

for account_type in get_mandatory_account_types():
writer.writerow(
["", "", "", 0, account_type.get("account_type"), account_type.get("root_type")]
["", "", "", "", 0, account_type.get("account_type"), account_type.get("root_type")]
)
else:
writer = get_sample_template(writer)
Expand Down

0 comments on commit 5e03a4e

Please sign in to comment.