[19.0][IMP] stock_production_lot_active: refuse to archive a lot with stock on hand #2586
All Vouch review confidence checks passed
Residual risk 0.11 = Change Risk (0.38) × (1 − Review Confidence (0.72)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.38 · 94 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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
Diff Size
diff_size
0.272
Real PR Conversation Timeline
6 items
Hi @ThomasBinsfeld,
some modules you are maintaining are being modified, check this out!
Thought this would be easier to understand.
# sudo: also count stock in companies the user cannot see.
Approved
Approved these changes.
Approved
Approved these changes.
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
yostashiro
AungKoKoLin1997
Refuse to archive a lot while an internal or transit location still holds stock of it, as Odoo already does for locations. Stock that has left the company (customer, scrap, supplier locations) does not count. Scripts can pass
do_not_check_quantin the context, the same key Odoo uses for the location check, to archive regardless.@qrtl QT6978