mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +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()
|
@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
|
# required to set correct region
|
||||||
with temporary_flag("company", company):
|
with temporary_flag("company", company):
|
||||||
return get_regional_round_off_accounts(company, account_list)
|
return get_regional_round_off_accounts(company, account_list)
|
||||||
|
|||||||
Reference in New Issue
Block a user