fix: display currencies in validation message.
(cherry picked from commit 3a1c923e76)
This commit is contained in:
committed by
Mergify
parent
b31709c793
commit
ef22337a9b
@@ -1463,8 +1463,10 @@ class AccountsController(TransactionBase):
|
|||||||
|
|
||||||
if not party_gle_currency and (party_account_currency != self.currency):
|
if not party_gle_currency and (party_account_currency != self.currency):
|
||||||
frappe.throw(
|
frappe.throw(
|
||||||
_("Party Account {0} currency and document currency should be same").format(
|
_("Party Account {0} currency ({1}) and document currency ({2}) should be same").format(
|
||||||
frappe.bold(party_account)
|
frappe.bold(party_account),
|
||||||
|
party_account_currency,
|
||||||
|
self.currency
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user