Merge pull request #21667 from surajshetty3416/fix-dashboard
fix: Add accidentally removed function
This commit is contained in:
commit
8b31b3ba00
@ -107,6 +107,10 @@ def get_charts():
|
||||
}
|
||||
]
|
||||
|
||||
def get_account(account_type, company):
|
||||
accounts = frappe.get_list("Account", filters={"account_type": account_type, "company": company})
|
||||
if accounts:
|
||||
return accounts[0].name
|
||||
|
||||
def get_company_for_dashboards():
|
||||
company = frappe.defaults.get_defaults().company
|
||||
|
Loading…
x
Reference in New Issue
Block a user