Sale Order Blanket Order Sale Margin
This module extends the functionality of the module sale_order_blanket_order and sale_margin to ensure that the margin calculation takes into account the specific case of cut off orders. In the case of a cut off order, the margin must be set to 0 since the financial impact of the order is managed on the blanket order.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0This module automatically sets the margin and margin percentage to zero on call-off order lines, so that the financial impact is only counted on the original blanket order.
When you use blanket orders and call-off orders together with margin tracking, this module changes how margins are calculated on the call-off lines.
- On any sale order line that belongs to a call-off order, the margin and margin percentage are forced to zero.
- All other sale order lines keep their normal margin calculation, based on the standard sale margin rules.
- This avoids double-counting the profit or loss: the financial impact stays on the blanket order, not on the call-off order.
The change is automatic and applies whenever margins are computed on sale order lines. It does not add any new menu, button, or report. It only affects the sale.order.line model and works together with the blanket order and sale margin features.
Depends on
Models and fields (1)
- sale.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-blanket.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.