Glue between sale_order_blanket_order and sale_order_carrier_auto_assign: keep auto-assigned carrier (delivery-fee) lines out of blanket-order call-off matching so they cannot consume blanket call-off capacity.
Project description
Sale Order Blanket Order — Carrier Auto Assign Compatibility
Sale Order Blanket Order — Carrier Auto Assign Compatibility
Glue module reconciling `sale_order_blanket_order <https://github.com/OCA/sale-blanket>`__ and `sale_order_carrier_auto_assign <https://github.com/OCA/sale-workflow>`__.
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.
Table of contents
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
David Gallay david.gallay@camptocamp.com
Jacques-Etienne Baudoux (BCIM) je@bcim.be
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/sale-blanket project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_sale_order_blanket_order_carrier_auto_assign-18.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_sale_order_blanket_order_carrier_auto_assign-18.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbf00a6f51a6947965b6498558bd2a8f23f2b64d4a0447a6737f6baf06ecf9a5
|
|
| MD5 |
9b9bdde50b35c53854522f5ad0cd2ae0
|
|
| BLAKE2b-256 |
bac3195e0296a2eb940e45c4d40a1f4f5fb69ccef015f33b2c739ff4087edb59
|