mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
Merge pull request #43526 from frappe/mergify/bp/version-14-hotfix/pr-43391
fix: create Account Closing Balance even though there are no transaction in period (backport #43391)
This commit is contained in:
@@ -362,7 +362,6 @@ def process_closing_entries(gl_entries, closing_entries, voucher_name, company,
|
|||||||
)
|
)
|
||||||
|
|
||||||
try:
|
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:
|
except Exception as e:
|
||||||
frappe.db.rollback()
|
frappe.db.rollback()
|
||||||
|
|||||||
Reference in New Issue
Block a user