Skip to content

Commit

Permalink
fix: create Account Closing Balance even though there are no transact…
Browse files Browse the repository at this point in the history
…ion in period
  • Loading branch information
ljain112 committed Sep 26, 2024
1 parent 9998aa2 commit 43deaea
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,7 @@ def process_closing_entries(gl_entries, closing_entries, voucher_name, company,
)

try:
if gl_entries + closing_entries:
make_closing_entries(gl_entries + closing_entries, voucher_name, company, closing_date)
make_closing_entries(gl_entries + closing_entries, voucher_name, company, closing_date)
except Exception as e:
frappe.db.rollback()
frappe.log_error(e)
Expand Down

0 comments on commit 43deaea

Please sign in to comment.