[fixes] return debtors account name

This commit is contained in:
Saurabh
2016-03-18 15:05:50 +05:30
parent d61b21cedf
commit b43df36e85
2 changed files with 9 additions and 9 deletions

View File

@@ -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 '',