Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] base_tier_validation: Change _compute_need_validation() #928

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from

Conversation

BernatPForgeFlow
Copy link
Member

A document does not need validation only if there are no pending reviews, otherwise we should evaluate as True. We add a condition in request_validation to be able to request more than one time if there are new tier validations.

@OCA-git-bot
Copy link
Contributor

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

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@StefanRijnhart
Copy link
Member

Would you consider adding a test to demonstrate what this effectively changes in the flow?

@JasminSForgeFlow JasminSForgeFlow force-pushed the 16.0-imp-base_tier_validation-need_validation branch from cbef7e5 to 0d650f2 Compare September 2, 2024 08:31
@StefanRijnhart
Copy link
Member

Thanks for the update. Do I understand correctly that the commit message may be updated to say

more than one time if there are new tier definitions

rather than new tier validations?

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

BernatPForgeFlow and others added 2 commits September 3, 2024 14:16
A document does not need validation only if there are no pending reviews, otherwise we should evaluate as True.
We add a condition in request_validation to be able to request more than one time if there are new tier validations.
@JasminSForgeFlow JasminSForgeFlow force-pushed the 16.0-imp-base_tier_validation-need_validation branch from 0d650f2 to bfa3c38 Compare September 3, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants