fix: display currencies in validation message.

This commit is contained in:
Devin Slauenwhite
2022-06-02 14:15:50 -04:00
committed by GitHub
parent 12edddbfd4
commit 3a1c923e76

View File

@@ -1465,8 +1465,10 @@ 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
)
)