[ADD] web_company_context_highlight: Highlight the current company context #3611
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 112 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.289
Diff Size
diff_size
0.283
Real PR Conversation Timeline
1 comments
"Review active on #3611"
general
weight: 0.35
AnizR
This module highlights the company switcher in the top bar of the web client when multiple companies are selected.
In a multi-company Odoo environment, users can easily lose track of their active company context. When more than one company is selected, they might unintentionally create or view records in the wrong context.
By applying a visual highlight to the company switcher when multiple companies are selected, this module provides an immediate visual cue, helping users remain aware of their active companies and reducing the risk of data entry errors.
with multiple companies selected
<img width="507" height="230" alt="image" src="https://github.com/user-attachments/assets/c40fcbd4-a8c3-402a-bd02-b7995f83ed3e" />
with one company selected
<img width="507" height="230" alt="image" src="https://github.com/user-attachments/assets/6a2cbc3d-2209-423b-b49e-ff1ff3af6bab" />