-
-
Notifications
You must be signed in to change notification settings - Fork 554
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][FIX] base_tier_validation: Do not update the counter if it is not possible to review it. #1038
[16.0][FIX] base_tier_validation: Do not update the counter if it is not possible to review it. #1038
Conversation
Hi @LoisRForgeFlow, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, Thanks 👍
I assume this issue also happens in v17 and v18?
a885431
to
e2a2e08
Compare
9a14fda
to
f46d907
Compare
…ssible to review it. Change res_id field (tier.review) to Many2oneReference Example use case: - Create tier definition with Mitchell Admin as reviewer user. - Create a record (purchase.requisition for example) with Marc Demo and request a validation. - Do not update the counter in Marc Demo (because you cannot review it). TT55411
f46d907
to
9091c4f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge patch
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 23afa58. Thanks a lot for contributing to OCA. ❤️ |
Do not update the counter if it is not possible to review it.
Example use case:
purchase.requisition
for example) with Marc Demo and request a validation.Before

After


Please @pedrobaeza and @sergio-teruel can you review it?
@Tecnativa TT55411