Skip to content

Conversation

victoralmau
Copy link
Member

FWP from 17.0: #1136

Make the validation_status field store so that it can be used in searchs.

Please @pedrobaeza and @carlos-lopez-tecnativa and @StefanRijnhart can you review it?

@Tecnativa TT56391

@OCA-git-bot
Copy link
Contributor

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

Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, thanks!

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge major

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-1138-by-pedrobaeza-bump-major, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 36108b5 into OCA:18.0 Aug 6, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 18.0-imp-base_tier_validation-TT56391 branch August 6, 2025 17:19
Copy link
Contributor

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same error with the migration script reported here: OCA/purchase-workflow#2727 (review)

image

pedrobaeza added a commit to Tecnativa/stock-logistics-workflow that referenced this pull request Aug 12, 2025
Method `_calc_reviews_validated` has been removed in OCA/server-ux#1138,
so this commit adapts the needed changes to it.

Fixes OCA#2064
maisim added a commit to maisim/server-ux that referenced this pull request Sep 17, 2025
This backports changes from OCA/18.0:
- PR OCA#1138: Make validation_status field stored for better search performance
- PR OCA#1139: Add migration script to prevent errors during upgrade

Changes:
* base_tier_validation: Add store=True to validation_status field
* base_tier_validation: Add migration script to populate stored field
* base_tier_validation_forward: Update test to use validation_status
* Version bumps for both modules
maisim added a commit to maisim/server-ux that referenced this pull request Sep 17, 2025
This backports changes from OCA/18.0:
- PR OCA#1138: Make validation_status field stored for better search performance
- PR OCA#1139: Add migration script to prevent errors during upgrade

Changes:
* base_tier_validation: Add store=True to validation_status field
* base_tier_validation: Add migration script to populate stored field
* base_tier_validation_forward: Update test to use validation_status
* Version bumps for both modules
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.

6 participants