diff --git a/l10n_br_fiscal/models/document.py b/l10n_br_fiscal/models/document.py index de7e82a83e98..a0c3019e41fe 100644 --- a/l10n_br_fiscal/models/document.py +++ b/l10n_br_fiscal/models/document.py @@ -373,7 +373,7 @@ def unlink(self): raise ValidationError( _( "You cannot delete fiscal document number %(number)s with " - "the status: %(state)!", + "the status: %(state)s!", number=record.document_number, state=record.state_edoc, )