From 5cdb481bdf635d5a854399ea82c96efe9884d26f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 15:31:08 +0530 Subject: [PATCH] fix(accounts): removed whitelist on `get_balance_on` (backport #55956) (#55965) Co-authored-by: Diptanil Saha fix(accounts): removed whitelist on `get_balance_on` (#55956) --- erpnext/accounts/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 635e19f337e..c5ac2d1cba2 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -199,7 +199,6 @@ def validate_fiscal_year(date, fiscal_year, company, label="Date", doc=None): throw(_("{0} '{1}' not in Fiscal Year {2}").format(_(label), formatdate(date), fiscal_year)) -@frappe.whitelist() def get_balance_on( account=None, date=None,