[19.0][IMP] sale_order_blanket_order: deliver call-offs at their own address and date #62
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 262 lines diff across 3 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.333
Real PR Conversation Timeline
1 comments
"Review active on #62"
general
weight: 0.35
jbaudoux
Call-off orders are now delivered to their own delivery address, on the date they request.
Call-offs to the same address on the same day share their picking; the others get their own.
Both reservation strategies now deliver through the manual delivery wizard.
The first commit is the 19.0 port of a862e66 from #52.
| Case | Before | After |
| --- | --- | --- |
| "At Call-off", call-off to another address | Picking addressed to the blanket order's customer, shared by every call-off | Own picking at the call-off's delivery address |
| Call-offs on different dates | Same picking | One picking per date |
| "At Order Confirmation" | Joins the open picking of the blanket order, at its address and date | Same as "At Call-off" |
| Deadline of the moves | Validity start of the blanket order | Commitment date of the call-off, otherwise its order date |
Commits
| Commit | Content |
| --- | --- |
| Group call-off deliveries sharing the same date | Cherry-pick of a862e66 (#52, 16.0). On 19.0
_create_call_off_orderalready exists in the tests, and the test checksreference_idsinstead ofgroup_id. || Deliver call-offs at their own address |
_deliver_call_off_qty_with_manual_deliverygives the wizard the call-off's delivery address and date._prepare_procurement_valuessets the deadline from the call-off. || Prebook: deliver call-offs through the wizard | With "At Order Confirmation",
_launch_stock_rule_for_call_off_line_qtycalls the same helper once the reservation is updated, instead of_action_launch_stock_rule. The order matters: the reservation moves count as procured, so only the call-off quantity is left for the wizard. |The automatic conversion of normal orders into call-offs still only finds blanket orders with the same delivery address (
_get_single_blanket_order_candidates_domain). Not changed here.