[20.0][MIG] account_asset_management: Migration to 20.0 #2408
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.67) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.67 · 206 lines diff across 2 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.319
Sensitive Paths
sensitive_paths
0.067
Real PR Conversation Timeline
1 comments
"Review active on #2408"
general
weight: 0.35
Saran440
Migration of
account_asset_managementto 20.0 (#2399).The module's 19.0 history is carried over (
git format-patch/git am), followed by:[IMP] pre-commit auto fixes:ruff formatwith the repository's pinned ruff (0.16.8).[MIG] Migration to 20.0:-
security/ir.model.access.csvand the three multi-companyir.rulerecords becomesecurity/ir.access.csv(Odoo 20 merged them). The 18 access rows carry over 1:1; the rules become global rows with the same domain.- Font Awesome icons in the views are replaced by names from
web/icons.py, as Odoo 20 requires.- Fixes for the ruff 0.16 default rules: merged nested
ifs,next()instead of[0],.items(), andfields.Date.today()in the tests.noqais used for Odoo's list class attributes and for the deliberate broadexceptthat keeps one asset from stopping the depreciation batch.- Version
20.0.1.0.0.[DON'T MERGE] test-requirements.txt:report_xlsx(#1203 on OCA/reporting-engine) andreport_xlsx_helper(OCA/reporting-engine#1214) are not merged on 20.0 yet. To be dropped once they are.Tested locally on Odoo 20.0 Community with those two PRs: 33/33 tests (
account_asset_management,report_xlsx,report_xlsx_helper), no warnings. The module has also run on an Odoo 20 production-like database (Saudi chart, SAR, Arabic), installed with-iafter a full upgrade.Not run locally: the full pre-commit (one hook needs libcst, which does not build here), so CI's pre-commit is the check for prettier, pylint-odoo and the README generator.
Assisted-by: Claude
🤖 Generated with Claude Code