fix: Add accidentally removed function
This commit is contained in:
parent
d53822f012
commit
65d3ac814d
@ -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():
|
def get_company_for_dashboards():
|
||||||
company = frappe.defaults.get_defaults().company
|
company = frappe.defaults.get_defaults().company
|
||||||
|
Loading…
x
Reference in New Issue
Block a user