OdooWiki OCA HUB

MRP BoM Product Price Margin

mrp_bom_product_price_margin folder_open OCA/manufacture open_in_new
GRAP - Custom License: AGPL-3

Help handling cost and sale price of product template linked to bill of material.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Shows the cost of a Bill of Materials and compares it with the product's cost, sale price and margin, and lets you push the BoM cost into the product's standard price with one click.

This module adds cost and margin information directly on Bills of Materials (BoM). On a BoM form you see a panel that displays the BoM unit cost (raw component cost divided by the BoM quantity), the product's current cost, its sale price and its margin percentage. If the BoM cost differs from the product's cost, a warning panel appears with a button to apply the BoM cost to the product's standard price.

In the BoM lines list, each component now shows its unit cost, the subtotal cost for the line, and the share of that line in the total BoM cost as a percentage. The subtotal column can be summed.

In the Bills of Materials list view, rows are highlighted in orange when the BoM cost differs from the product cost, and in red when the product margin is negative. A button in the list also lets you update the product's standard price from the BoM cost.

The module touches mrp.bom, mrp.bom.line and product.template. It depends on the standard margin module to display the margin rate. Product cost changes are tracked in the chatter.

Models and fields (3)
  • mrp.bom · extends an existing modelcurrency_id, standard_price (BoM Unit Cost), product_sale_price (Product Sale Price), product_margin_rate, product_standard_price, diff_product_bom_standard_price
  • mrp.bom.line · extends an existing modelcurrency_id, standard_price_unit, standard_price_subtotal (Subtotal price), standard_price_subtotal_percentage (Subtotal price %)
  • product.template · extends an existing modelstandard_price

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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/manufacture.

terminal Installation and usage

OCA documentation · Odoo 16.0

Change BoM quantity or BoM lines quantity or price in one component. See new panel to change Product Standard Price.

In tree view, quickly see difference between Product standard price and BoM cost. You can also change Product standard price here Lines are red when Sale margin in negative.

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.