[20.0][MIG] sql_request_abstract: Migration to 20.0 #1220
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.56) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 139 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: 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.296
Sensitive Paths
sensitive_paths
0.056
Real PR Conversation Timeline
1 comments
"Review active on #1220"
general
weight: 0.35
wpichler
Migration of
sql_request_abstractfrom 19.0 to 20.0, as per the migration guide.Part of #1206.
Changes:
20.0.1.0.0.security/ir.model.access.csvtosecurity/ir.access.csv(ir.model.accessno longer exists in 20.0). Theallline with no group and no permissions is dropped, as it did not grant anything.ClassVarannotations ornoqaare added forRUF012on the mutable class attributes (_inherit,STATE_SELECTION,PROHIBITED_WORDS). The rule is ignored for Odoo >= 20.0 in the repository template (OCA/oca-addons-repo-template#376), because annotating Odoo model attributes withClassVaris not idiomatic and Odoo itself ignores it in itsruff.toml. Untilreporting-enginesyncs with the template, theruffpre-commit hook reportsRUF012on this module.map(lambda ...)by a generator expression (C417).The module has no tests, so none were added. It installs on a 20.0 database without errors.