[19.0][MIG] agreement_legal: Migration to 19.0 #132
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.63) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 148 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.299
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #132"
general
weight: 0.35
luisDIXMIT
Summary
Clean migration of
agreement_legalfrom 18.0 to 19.0 (no module split/refactor).19.0.1.0.0, installableagreement.group_*(drop duplicateres_groups.xml/ ACL overlaps)self.env._(), settingstargetcurrent, remove@odoo-module)BaseCommon; coverage 100%This is an alternative to #121 (migration + refactoring). Prefer this PR for a straight migration.
Test scenario
1. Install
agreementthenagreement_legalon Odoo 19.0 (demo optional).2. Open the Legal Agreements app menu; confirm dashboard and agreement list/kanban/form load.
3. Create an agreement from a template; recompute from template via the wizard.
4. Confirm stages, parties, and readonly-by-stage behavior on the form.
5. Uninstall
agreement_legaland confirm the base Agreements menu is usable again.6. Automated:
oca_run_testswithADDONS=agreement_legal— 0 failures; Python coverage on module 100%.Dependencies
agreement— already on19.0Made with Cursor