stock-logistics-warehouse
stock-logistics-warehouse copied to clipboard
[14.0][BUG] stock_request_tier_validation: ValidationError dont check pending Tiers
Module
stock_request_tier_validation
Describe the bug
The module in v14.0 and v15.0 does not have the correct behavior in tier.validation, it ignores pending reviews when only SRO Tier Validation is activated, in versions 12 and 13 the behavior displayed a Warning indicating that there are pending reviews.
To Reproduce
Affected versions:
v14.0:
Steps to reproduce the behavior:
- Create new tier.definition for Stock Request Order (only active SRO)
- Create new SRO
- Save
- Request for Validation
- Confirm
Expected behavior
Warning: "A validation process is still open for at least."
Additional context
Runboat v12.0 (Work):
Runboat v13.0 (Work):
cc @douglascstd @marcelsavegnago