diff --git a/addons/account/account.py b/addons/account/account.py index c08be3323b5..6f49b3cd464 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -1564,7 +1564,7 @@ class account_move(osv.osv): if line.account_id.currency_id and line.currency_id: if line.account_id.currency_id.id != line.currency_id.id and (line.account_id.currency_id.id != line.account_id.company_id.currency_id.id): - raise osv.except_osv(_('Error!'), _("""Cannot create move with currency different from ..""") % (line.account_id.code, line.account_id.name)) + raise osv.except_osv(_('Error'), _("""Couldn't create move with currency different from the secondary currency of the account "%s - %s". Clear the secondary currency field of the account definition if you want to accept all currencies.""") % (line.account_id.code, line.account_id.name)) if round(abs(amount), prec) < 10 ** (-max(5, prec)): # If the move is balanced