Merge pull request #31237 from frappe/mergify/bp/version-13-hotfix/pr-31223

fix: display currencies in validation message. (backport #31223)
This commit is contained in:
Deepesh Garg
2022-06-06 14:48:21 +05:30
committed by GitHub

View File

@@ -1463,8 +1463,8 @@ class AccountsController(TransactionBase):
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
)
)