[20.0][MIG] mail_improved_tracking_value: Migration to 20.0 #1954
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.59) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 186 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.313
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #1954"
general
weight: 0.35
hbrunn
Closes #1953. Rationale in the issue: Odoo tracks x2many fields since 17.0 but stores only
the display names; this keeps the ids as JSON in
old_value_text/new_value_text, as up to 16.0.Changes
git format-patch | git am -3 --keep), then[IMP] pre-commit autofixes, then this
[MIG]commit.many2many/one2manyfields, same storage as 16.0.-
old/new_value_formatted,record_name,modelfields and the "tracked changes" view andmenu. Odoo's
mail_tracking(Discuss Tracking) provides the technical views.- The
mail.message.name_getoverride.name_getno longer exists.- The
mail.tracking.value.create_tracking_valuesoverride. The extension point is nowmail.track.mixin._create_mail_tracking_values.depends:mail_tracking(Odoo's Discuss Tracking, which definesmail.tracking.value).readme/*.mdfragments.Tests
res.partnerfor many2many, one2many, empty andFalsevalues, char andmany2one. The result must equal Odoo's own output plus only the two id keys, so names are
proven untouched.
search_readonmail.tracking.value.