Sale Order Blanket Order — Carrier Auto Assign Compatibility
sale_order_blanket_order_carrier_auto_assign · OCA/sale-blanket
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
Sale Order Blanket Order — Carrier Auto Assign Compatibility
Glue module reconciling
sale_order_blanket_order and
sale_order_carrier_auto_assign.
Problem
When sale_order_carrier_auto_assign is installed, both blanket orders and
call-off orders receive an auto-assigned carrier delivery-fee line. Without
this module, the delivery-fee line participates in the blanket-order call-off
matching algorithm: each call-off's delivery line "consumes" capacity from
the blanket order's delivery line. After the first call-off, the blanket's
delivery line has zero remaining capacity, so the second call-off fails
confirmation with:
The product is not part of linked blanket order
What this module does
It excludes is_delivery sale order lines from the blanket-order line
matching algorithm and from the call-off → blanket stock-rule forwarding,
so delivery-fee lines never participate in blanket call-off accounting.
Bypass switch
The filter can be turned off by setting the context key
skip_blanket_carrier_filter=True. The regression test uses this flag to
demonstrate that the original failure mode reappears when the filter is
disabled.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.