Skip to content

[19.0][FIX] base_tier_validation: bypass approval only for consecutive tiers#36

Open
bosd wants to merge 1 commit into
OCA:19.0from
bosd:19.0-fix-base_tier_validation-bypass-consecutive-tiers
Open

[19.0][FIX] base_tier_validation: bypass approval only for consecutive tiers#36
bosd wants to merge 1 commit into
OCA:19.0from
bosd:19.0-fix-base_tier_validation-bypass-consecutive-tiers

Conversation

@bosd
Copy link
Copy Markdown
Contributor

@bosd bosd commented May 14, 2026

Summary

Forward-port of OCA/server-ux#1141 (authored by @Saran440 / Ecosoft) onto 19.0.

approve_sequence_bypass is supposed to skip a tier's approval only when the previous (consecutive) tier was already validated by the same reviewer. The current logic instead bypasses whenever the same reviewer appears anywhere in the earlier tiers — even with gaps. With multi-tier workflows where the same person sits on tier 1 and tier 3 but a third party owns tier 2, that lets the workflow auto-approve tier 3 the moment tier 1 is signed, before tier 2 even gets a chance.

This forward-port restricts the bypass to the immediately previous sequence so non-consecutive overlaps no longer auto-approve.

Credit

Original commit: 48049458 by @Saran440 / Ecosoft. Cherry-picked unchanged onto 19.0; the surrounding code was identical to 18.0 so no resolution was needed.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @LoisRForgeFlow,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added mod:base_tier_validation Module base_tier_validation series:19.0 labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:base_tier_validation Module base_tier_validation series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants