Update party.py (#11584)

This commit is contained in:
Umair Sayed 2017-11-15 13:44:04 +05:30 committed by Nabin Hait
parent bf59b5927f
commit 3a9ca883b9

View File

@ -200,9 +200,6 @@ def get_party_account(party_type, party, company):
if (account and account_currency != existing_gle_currency) or not account:
account = get_party_gle_account(party_type, party, company)
if not account:
frappe.throw(_("Party account not specified, please setup default party account in company"))
return account
def get_party_account_currency(party_type, party, company):