mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 22:06:52 +00:00
fix: type hint for get_round_off_applicable_accounts
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user