Merge pull request #31223 from dj12djdjs/fix-validation-message
fix: display currencies in validation message.
This commit is contained in:
commit
c21826e07d
@ -1465,8 +1465,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
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user