stock-logistics-warehouse icon indicating copy to clipboard operation
stock-logistics-warehouse copied to clipboard

[14.0][BUG] stock_request_tier_validation: ValidationError dont check pending Tiers

Open kaynnan opened this issue 8 months ago • 4 comments

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:

image

Steps to reproduce the behavior:

  1. Create new tier.definition for Stock Request Order (only active SRO)
  2. Create new SRO
  3. Save
  4. Request for Validation
  5. Confirm

Expected behavior

Warning: "A validation process is still open for at least."

Additional context

Runboat v12.0 (Work):

Captura de imagem_20240607_190802

Runboat v13.0 (Work):

Captura de imagem_20240607_191340

cc @douglascstd @marcelsavegnago

kaynnan avatar Jun 07 '24 22:06 kaynnan