[OU-ADD] event: question m2o→m2m + slots migration#56
Open
dnplkndll wants to merge 4 commits into
Open
Conversation
99903fb to
8a883d8
Compare
0e12b6c to
5e2949d
Compare
fdec7b1 to
e947125
Compare
- event.question.event_id/event_type_id (m2o) → event_ids/event_type_ids (m2m): post-migration m2o_to_x2m populates the new join tables. - pre-migration deletes the obsolete noupdate event_stage_cancelled stage. - noupdate_changes_work.xml reloads only the event_mail_scheduler cron; the three mail.template body_html drifts are omitted to preserve operator edits.
event.event.stage_id is ondelete='restrict' — the raw DELETE crashed on any DB with a cancelled event (and left the imd row behind). Remap to the Ended stage with kanban_state='cancel' (19's replacement), then use the safe-delete helper. Also restore the rebuilt badge mail template into the loaded noupdate work file: 19 rebuilt the badge flow and dropped the old reports the 18 body references.
…odel event.stage isn't in the registry during event's pre-migration (KeyError caught by the enriched gate's first post-#106 run); resolve the stage ids from ir_model_data and delete the remapped stage + its imd row in SQL.
e947125 to
5e03438
Compare
The post-migration load_data reloads event_registration_mail_template_badge (mail.template) whose body_html changed in 19.0, but omitted delete_record_translations — stale 18.0 per-language translations would shadow the new source for non-English users (the check-17 class).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration work on the ledoent/OpenUpgrade fork (internal review).
(m2m): post-migration m2o_to_x2m populates the new join tables.
the three mail.template body_html drifts are omitted to preserve
operator edits.