[18.0][ADD] web_widget_autocomplete: Char autocomplete widget #3667
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.44) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 136 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.294
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #3667"
general
weight: 0.35
ivs-cetmix
Depends on:
Odoo 18 has no backend Char widget that typeahead-fills from a consumer-supplied model method. Partner autocomplete is IAP-only, and
web_widget_dropdown_dynamicis a closed select, not typeahead.This addon registers
widget="autocomplete"on Char fields, calls a public@api.modelmethod with the typed string, and on select writes the Char plus any extra Char/Integer keys that exist on the model and in the view.Task 5613
Made with AI assistance - mostly Cursor - checked manually. If someone is going to call this "yet another AI slope" - do it without using your Claude while reviewing this PR 😆
There is also a dedicated module for the functional testing, it's installed automatically on runboat deployments.
Test flow is really simple and also allows you to discover beautiful cities of Umbria:
(try “Per”, “Ass”, or “cit”) to see Umbria cities.