Skip to content

Commit

Permalink
[FIX] account_tier_validation (Confirm Issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Wilson committed May 20, 2024
1 parent eb644d4 commit 0fa6a02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions account_move_tier_validation/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ def _get_to_validate_message_name(self):
elif self.move_type == "out_refund":
name = _("Credit Note")
return name

def action_post(self):
return super(
AccountMove, self.with_context(skip_validation_check=True)
).action_post()

0 comments on commit 0fa6a02

Please sign in to comment.