-
-
Notifications
You must be signed in to change notification settings - Fork 606
[18.0][IMP] base_tier_validation: Make the validation_status field store so that it can be used in searchs #1138
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][IMP] base_tier_validation: Make the validation_status field store so that it can be used in searchs #1138
Conversation
… that it can be used in searchs. Similar to kevinkhao@217de7c TT56391
…ield to validation_status TT56391
Hi @kittiu, @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.
Looking good, thanks!
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 major
On my way to merge this fine PR! |
Congratulations, your PR was merged at ece520d. Thanks a lot for contributing to OCA. ❤️ |
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.
I have the same error with the migration script reported here: OCA/purchase-workflow#2727 (review)

Method `_calc_reviews_validated` has been removed in OCA/server-ux#1138, so this commit adapts the needed changes to it. Fixes OCA#2064
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
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
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