From 29821356d991ccb674499e39a6b173af5f01e8c5 Mon Sep 17 00:00:00 2001 From: Marcel Savegnago Date: Fri, 19 Jul 2024 16:36:37 -0300 Subject: [PATCH] [FIX] l10n_br_fiscal: fix validation error message --- l10n_br_fiscal/models/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_br_fiscal/models/document.py b/l10n_br_fiscal/models/document.py index 9b3f40341f5e..58e72ef08323 100644 --- a/l10n_br_fiscal/models/document.py +++ b/l10n_br_fiscal/models/document.py @@ -349,7 +349,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, )