[16.0][IMP] purchase_requisition_tier_validation: avoid error editing alternative
Before this commit:
- Install purchase_requisition and purchase_tier_validation
- Create a Tier Validation for purchase model
- Create an order and an alternative
- Request for validation for one of the purchase order
- Try to edit (and save) the alternative order
- You will get a ValidationError: "The operation is under validation."
After this commit:
- You could edit the alternative (that is not under validation) without problem
@leemannd @cyrilmanuel @dzungtran89 Hi everyone! Could you see the issue?
Hello, ok for me for the fix. Btw I think it should be an improvement rather than a fix, because you would like to except the validation for the PO's alternatives
@dzungtran89 Thz!! i changed the PR name
@dzungtran89 Could you approve this PR ?
/ocabot merge patch
This PR looks fantastic, let's merge it! Prepared branch 16.0-ocabot-merge-pr-2150-by-HviorForgeFlow-bump-patch, awaiting test results.
It looks like something changed on 16.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 16.0-ocabot-merge-pr-2150-by-HviorForgeFlow-bump-patch, awaiting test results.
Congratulations, your PR was merged at 4bfc1ee464d955fe34c48aaeb892c295a0a82f9d. Thanks a lot for contributing to OCA. ❤️