[18.0][ADD] barcode_stock_product_multi_barcode #22
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.36) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 182 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.312
Real PR Conversation Timeline
1 comments
"Review active on #22"
general
weight: 0.35
edescalona
Bridge between
product_multi_barcode(OCA/stock-logistics-barcode) andbarcode_stock: in the Barcode app, scanning any of a product's alternate barcodes resolves to the same move as its main barcode.Why it is needed
product_multi_barcodelets a product hold several barcodes (its main one plus alternates), butbarcode_stockonly indexes the main barcode and the packagings when it preloads a picking. Scanning an alternate barcode is then rejected even though the product is on the move in that picking.What it does
product.barcoderecords of the products it contains and adds every alternate barcode to the scanner'sbarcodeToProductIdsindex, so a scan of any of them yields the same move candidates as the main barcode.product.barcode, the picking still loads and the scanner falls back to main barcodes and packagings.barcode_stockandproduct_multi_barcodeare installed (auto_install), and changes neither module.How to use
1. Install
barcode_stockandproduct_multi_barcode; this module installs itself.2. On a product, add the alternate barcodes in the Barcodes list next to the main barcode.
3. Open a picking with that product in the Barcode app and scan an alternate barcode: it resolves to the same move as the main one.
@BinhexTeam T26645