[Fix] Account currency not fetched on selection of party in journale entry

This commit is contained in:
Rohit Waghchaure
2016-10-28 13:32:05 +05:30
parent 4c0a9f420f
commit 6996bb0826

View File

@@ -760,7 +760,8 @@ def get_party_account_and_balance(company, party_type, party):
return {
"account": account,
"balance": account_balance,
"party_balance": party_balance
"party_balance": party_balance,
"account_currency": frappe.db.get_value("Account", account, "account_currency")
}
@frappe.whitelist()