[18.0][FIX] account_usability: restrict journal items partner binding to accounting users #2333
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 67 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.252
Real PR Conversation Timeline
1 comments
"Review active on #2333"
general
weight: 0.35
RicardCForgeFlow
A user without accounting permissions but with a Sales role (sales_team.group_sale_salesman, while sale is installed) can open a contact's Journal Items from the res.partner form, when this should only be possible with accounting access (account.group_account_readonly).
<img width="1655" height="830" alt="image" src="https://github.com/user-attachments/assets/db74c90b-9dc6-48c1-8f68-79c7ab4331aa" />
<img width="1511" height="973" alt="image" src="https://github.com/user-attachments/assets/0b4e5dd2-e358-4663-aac6-987a7fdef067" />