fix(accounts): validate frozen accounts in period closing voucher (#58477)

This commit is contained in:
Pandiyan P
2026-08-27 14:16:01 +05:30
committed by GitHub
parent 6f95c1ff92
commit 045d7086d1

View File

@@ -54,7 +54,7 @@ class PeriodClosingVoucher(AccountsController):
if for_cancellation and is_immutable_ledger_enabled():
posting_date = getdate()
check_freezing_date(posting_date, self.company)
check_freezing_date(posting_date)
def validate_start_and_end_date(self):
self.fy_start_date, self.fy_end_date = frappe.db.get_value(