Skip to content

Commit

Permalink
[FIX] l10n_br_fiscal: fix validation error message
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Jul 19, 2024
1 parent 37b813b commit 743288b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion l10n_br_fiscal/models/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ def unlink(self):
raise ValidationError(
_(
"You cannot delete fiscal document number %(number)s with "
"the status: %(state)!",
"the status: %(state)s!",
).format(
number=record.document_number,
state=record.state_edoc,
)
Expand Down

0 comments on commit 743288b

Please sign in to comment.