diff options
| author | Benjamin Stiens <bst@odoo.com> | 2018-02-21 16:53:37 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-05-28 16:45:48 +0200 |
| commit | 6383120f3b67ea16d5f0d6cc47ea7b4dbd11e1f4 (patch) | |
| tree | 0059d5d14169ee0d598e44b456722acc447149d1 /addons/l10n_be_invoice_bba | |
| parent | c9735c75d61e6792ae32d64a35122dc4664f7cf4 (diff) | |
[IMP] all: Improve error messages
Many error messages are misleading or too "vague"
This task aims to improve all error message.
Task #47042
PR #23321
Diffstat (limited to 'addons/l10n_be_invoice_bba')
| -rw-r--r-- | addons/l10n_be_invoice_bba/models/account_invoice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_be_invoice_bba/models/account_invoice.py b/addons/l10n_be_invoice_bba/models/account_invoice.py index d729efec3a3..d66669747f5 100644 --- a/addons/l10n_be_invoice_bba/models/account_invoice.py +++ b/addons/l10n_be_invoice_bba/models/account_invoice.py @@ -34,7 +34,7 @@ class AccountInvoice(models.Model): def _check_communication(self): for inv in self: if inv.reference_type == 'bba' and not self.check_bbacomm(inv.reference): - raise ValidationError(_('Invalid BBA Structured Communication !')) + raise ValidationError(_('Invalid BBA Structured Communication.')) def check_bbacomm(self, val): supported_chars = '0-9+*/ ' |
