Skip to content

Commit

Permalink
Merge PR #699 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by LoisRForgeFlow
  • Loading branch information
OCA-git-bot committed Aug 9, 2023
2 parents 173645d + f139adc commit 420c764
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base_tier_validation/models/tier_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ def validate_tier(self):
lambda l: l.sequence in sequences or l.approve_sequence_bypass
)
if self.has_comment:
return self._add_comment("validate", reviews)
user_reviews = reviews.filtered(
lambda r: r.status == "pending" and (self.env.user in r.reviewer_ids)
)
return self._add_comment("validate", user_reviews)
self._validate_tier(reviews)
self._update_counter()

Expand Down

0 comments on commit 420c764

Please sign in to comment.