2
0

Merge PR #1661 into 16.0

Signed-off-by alexis-via
This commit is contained in:
OCA-git-bot 2023-06-09 14:37:29 +00:00
commit 31e5e00d0f

View File

@ -142,13 +142,14 @@ class AccountCashDeposit(models.Model):
):
raise ValidationError(
_(
"On {deposit}, the cash journal {cash_journal} is not "
"in the selected currency {currency}."
).format(
deposit=rec.display_name,
cash_journal=rec.cash_journal_id.display_name,
currency=rec.currency_id.name,
"On %(deposit)s, the cash journal %(cash_journal)s is not "
"in the selected currency %(currency)s."
)
% {
"deposit": rec.display_name,
"cash_journal": rec.cash_journal_id.display_name,
"currency": rec.currency_id.name,
}
)
@api.model