[19.0][FIX] dms: Set the appropriate default_parent_id #527
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.41) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 79 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.262
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 comments
"Review active on #527"
general
weight: 0.35
victoralmau
Set the appropriate default_parent_id
<img width="1584" height="752" alt="ejemplo" src="https://github.com/user-attachments/assets/1b763ed2-6a70-4e1c-90ae-a5f2253735f5" />
Related to https://github.com/OCA/dms/pull/522#pullrequestreview-5517881585
Conclusions:
default_parent_idis not passed to the context of the_compute_parent_id()method._compute_parent_id()method that setrecord.parent_id = record.parent_idseemed to ensure that the appropriate default value was set in previous versions, but this is no longer the case.Please @pedrobaeza can you review it?
@Tecnativa