OCA / server-ux

GNU Affero General Public License v3.0
163 stars 531 forks source link

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

Open BernatPForgeFlow opened 4 months ago

BernatPForgeFlow commented 4 months ago

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 commented 4 months ago

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

StefanRijnhart commented 3 months ago

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

StefanRijnhart commented 2 months ago

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 commented 2 months ago

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). 🤖