Skip to content

Commit

Permalink
[fix]account_move_force_removal fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoopenf committed Jun 13, 2024
1 parent 36cceb6 commit c8961f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_move_force_removal/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def unlink(self):
# self._check_can_be_deleted(states=["cancel", "posted"])
raise UserError(
_(
"You cannot delete an entry which has been posted once, You haven't the correct right"
"You cannot delete an entry which has been posted once, "
"You haven't the correct right"
)
)
return super(AccountMove, self - cancelled_moves).unlink()
Expand Down

0 comments on commit c8961f8

Please sign in to comment.