Product Extension: Compute cost from BoM

mrp_bom_cost
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/12.0/mrp_bom_cost
VERSION
VERSION 1.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Christophe Simonis, Simon Lejeune, Nicolas Martinelli, Yannick Tivisse, Arnold Moyaux, Xavier-Do, Adrien Widart
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:57:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - resource
    - stock_account
    - account
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allows to compute the cost of the product based on its BoM,
using the costs of its components and work center operations.
It adds a button on the product itself but also an action in the list view of the products.
If the automated inventory valuation is active, the necessary accounting entries will be created.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_product_ext_form_view2 product_extended.product.form.view product.template xpath Inherits product.product_template_only_form_view
product_product_view_form_normal_inherit_extended product.product.view.form.normal.inherit.extended product.product xpath Inherits product.product_normal_form_view
product_variant_easy_edit_view_bom_inherit product.product.product.view.form.easy.bom.inherit product.product data Inherits product.product_variant_easy_edit_view
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • action_bom_cost(self)
  • button_bom_cost(self)

New fields (0)

No new fields.

Public methods (2)
  • action_bom_cost(self)
  • button_bom_cost(self)