[fixes] return debtors account name
This commit is contained in:
@@ -479,7 +479,7 @@ def get_outstanding_invoices(party_type, party, account, condition=None):
|
||||
return outstanding_invoices
|
||||
|
||||
|
||||
def get_account(account_type=None, root_type=None, is_group=None, account_currency=None, company=None):
|
||||
def get_account_name(account_type=None, root_type=None, is_group=None, account_currency=None, company=None):
|
||||
"""return account based on matching conditions"""
|
||||
return frappe.db.get_value("Account", {
|
||||
"account_type": account_type or '',
|
||||
|
||||
Reference in New Issue
Block a user