Merge pull request #52927 from khushi8112/fix-taxes-and-totals-type-hint

fix: type hint for get_round_off_applicable_accounts
This commit is contained in:
Khushi Rawat
2026-02-24 15:57:47 +05:30
committed by GitHub

View File

@@ -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)