From 2f3ac06eff9de730f1b420e6e52e89d351cc2b08 Mon Sep 17 00:00:00 2001 From: khushi8112 Date: Tue, 24 Feb 2026 15:36:41 +0530 Subject: [PATCH] fix: type hint for get_round_off_applicable_accounts --- erpnext/controllers/taxes_and_totals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/taxes_and_totals.py b/erpnext/controllers/taxes_and_totals.py index 6ebcd8810bf..aae4d9b60dc 100644 --- a/erpnext/controllers/taxes_and_totals.py +++ b/erpnext/controllers/taxes_and_totals.py @@ -1184,7 +1184,7 @@ def get_itemised_tax_breakup_html(doc): @frappe.whitelist() -def get_round_off_applicable_accounts(company: str, account_list: list): +def get_round_off_applicable_accounts(company: str, account_list: list | str): # required to set correct region with temporary_flag("company", company): return get_regional_round_off_accounts(company, account_list)