mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 14:18:24 +00:00
fix(accounts): validate frozen accounts in period closing voucher (#58477)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user