Merge pull request #43391 from ljain112/fix-pcv

fix: create Account Closing Balance even though there are no transaction in period
This commit is contained in:
Smit Vora
2024-10-07 21:40:34 +05:30
committed by GitHub

View File

@@ -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)