[MIG] dms_attachment_link: Migration to 18.0 #478
All Vouch review confidence checks passed
Residual risk 0.43 = Change Risk (0.74) × (1 − Review Confidence (0.42)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.74 · 131 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.292
No Reviewer Assigned
no_reviewer_assigned
0.120
Sensitive Paths
sensitive_paths
0.074
Real PR Conversation Timeline
1 comments
"Review active on #478"
general
weight: 0.35
IJOL
Migration of
dms_attachment_linkto 18.0.This continues @hhgabelgaard's work in #460, which is a clean, history-preserving migration but has stalled after maintainer review: @flotho requested changes on 2026-02-20 (a runtime error reported on runboat) and the branch has not been updated since (its head was last pushed on 2026-02-04). This PR builds on top of that branch — preserving its full history and authorship — and adds the fix for the reported issue.
On top of #460:
actionservice into the Chatter patch viasetup()/useService("action"). In Odoo 18 the Chatter no longer exposesthis.action, so_onAddDmsFile()raisedTypeError: this.action is undefinedwhen clicking "Add DMS file" — the runtime error seen in @flotho's review.Credit for the migration goes to @hhgabelgaard and the original authors. Supersedes #460.
@flotho @hhgabelgaard