Skip to content

[16.0][IMP] base_tier_validation: extract _remove_reviews hook - #1307

Open
smorita7749 wants to merge 1 commit into
OCA:16.0from
qrtl:6878-imp-base_tier_validation
Open

[16.0][IMP] base_tier_validation: extract _remove_reviews hook#1307
smorita7749 wants to merge 1 commit into
OCA:16.0from
qrtl:6878-imp-base_tier_validation

Conversation

@smorita7749

@smorita7749 smorita7749 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Extract the review removal in write() / restart_validation() into a _remove_reviews() method, so other modules can override it to do something other than delete the reviews (e.g. archive them as history).

@qrtl QT6878

@smorita7749
smorita7749 force-pushed the 6878-imp-base_tier_validation branch from 9a5a0d2 to 8cb56e2 Compare July 2, 2026 03:41
@smorita7749
smorita7749 marked this pull request as ready for review July 2, 2026 03:41
@OCA-git-bot OCA-git-bot added series:16.0 mod:base_tier_validation Module base_tier_validation labels Jul 2, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@smorita7749
smorita7749 force-pushed the 6878-imp-base_tier_validation branch from 8cb56e2 to 004dc43 Compare July 3, 2026 01:31
Comment thread base_tier_validation/models/tier_review.py Outdated
Comment thread base_tier_validation/models/tier_validation.py
@smorita7749
smorita7749 force-pushed the 6878-imp-base_tier_validation branch 2 times, most recently from d494940 to e3fccd2 Compare July 14, 2026 09:25
@smorita7749 smorita7749 changed the title [16.0][IMP] base_tier_validation: keep tier review history instead of deleting it [16.0][IMP] base_tier_validation: extract _remove_reviews hook Jul 14, 2026
Comment thread base_tier_validation/__manifest__.py Outdated
Extract the review removal in write()/restart_validation() into a
_remove_reviews() method so other modules can change what happens to
completed reviews (e.g. archive them as history instead of deleting).
@smorita7749
smorita7749 force-pushed the 6878-imp-base_tier_validation branch from e3fccd2 to 19a0b64 Compare July 19, 2026 14:03
Comment thread base_tier_validation/models/tier_validation.py

@yostashiro yostashiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code review. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants