Product Extension: Compute cost from BoM
mrp_bom_cost · odoo/odoo
Merged into mrp_account in 13.0
product_extended (12.0)-
Security25/25No findings
-
Activity0/25Last human commit 65 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
product_product_ext_form_view2— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (3 occurrences in this file) migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_product_ext_form_view2 |
product_extended.product.form.view | product.template | form | Inherits product.product_template_only_form_view |
product_product_view_form_normal_inherit_extended |
product.product.view.form.normal.inherit.extended | product.product | form | Inherits product.product_normal_form_view |
product_variant_easy_edit_view_bom_inherit |
product.product.product.view.form.easy.bom.inherit | product.product | form | Inherits product.product_variant_easy_edit_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (2)-
action_bom_cost(self) -
button_bom_cost(self)
No new fields.
Public methods (2)-
action_bom_cost(self) -
button_bom_cost(self)