Skip to content

Commit

Permalink
Merge pull request #31237 from frappe/mergify/bp/version-13-hotfix/pr…
Browse files Browse the repository at this point in the history
…-31223

fix: display currencies in validation message. (backport #31223)
  • Loading branch information
deepeshgarg007 authored Jun 6, 2022
2 parents aaaacf9 + ed89963 commit b58c775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,8 @@ def validate_party_account_currency(self):

if not party_gle_currency and (party_account_currency != self.currency):
frappe.throw(
_("Party Account {0} currency and document currency should be same").format(
frappe.bold(party_account)
_("Party Account {0} currency ({1}) and document currency ({2}) should be same").format(
frappe.bold(party_account), party_account_currency, self.currency
)
)

Expand Down

0 comments on commit b58c775

Please sign in to comment.