OdooWiki OCA HUB

Sale Elaboration Margin

sale_elaboration_margin folder_open OCA/margin-analysis open_in_new
Sale License: AGPL-3

This module extends the functionality of sale_elaboration module to allow to display margin data from elaboration costs.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds elaboration cost, price and margin information to sale order lines, so users can see the margin generated by the elaboration products linked to a sale line.

This module extends the sale order line with three extra values related to elaborations: the elaboration cost, the elaboration price and the elaboration margin.

  • Elaboration cost and elaboration price are calculated automatically from the elaboration products linked to the sale order line. The price is computed using the customer's pricelist and the line quantity, and taxes are adjusted to match the sale line taxes. The cost is the sum of the standard cost of the elaboration products.
  • The elaboration margin is the quantity (delivered quantity if available, otherwise ordered quantity) multiplied by the difference between elaboration price and elaboration cost.
  • If a sale line has no elaborations, both the elaboration cost and elaboration price are set to zero.

The new fields are added to the sale order form, inside the order lines list and line detail form, but they are hidden by default. They are stored on the sale order line, so they can be used in reports or further analysis.

This module depends on sale_elaboration and only affects the sale.order.line model and the sale order form view. It does not add new menus or screens; the information appears within the existing sale order lines.

Required by other modules

Models and fields (1)
  • sale.order.line · extends an existing modelelaboration_price, elaboration_margin, elaboration_cost_price (Elaboration Cost)

Text generated by AI (DeepSeek) from reading the Odoo 18.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/margin-analysis.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to Sale \> Orders \> Quotations.
  • Create a sales order.
  • Add a new line.
  • Select an elaboration in the line.
  • Confirm the sales order.
  • Go to the picking created by this sales order and validate it.
  • Go back to the sales order. A new line is created with the product linked to the elaboration.

No verified information in OCA: Installation, Configuration.

info

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.