Skip to content
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

[18.0][FIX] base_tier_validation: Do not update the counter if it is not possible to review it #1042

Merged
merged 2 commits into from
Mar 13, 2025

Conversation

victoralmau
Copy link
Member

FWP from 17.0: #1041

Do not update the counter if it is not possible to review it.

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

Before
antes

After
despues-demo
despues-admin

Do not update the counter when restarting the validation if you are unable to validate it.<i/ns>

Before
antes-2

After
despues-2

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

@Tecnativa TT55411

…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
… the validation if you are unable to validate it

TT55411
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza added this to the 18.0 milestone Mar 13, 2025
@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-1042-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit fd39cc0 into OCA:18.0 Mar 13, 2025
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 13310ac. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-fix-base_tier_validation-TT55411 branch March 13, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants