MRP BoM Product Price Margin
mrp_bom_product_price_margin · OCA/manufacture
Health
55/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 7 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.31 MB
Module directory on disk
Code analysis
1 migration note
3 models
2 views
0 HTTP endpoints
Migration considerations
view_mrp_bom_sale_product_margin_form— 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. (2 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_mrp_bom_sale_product_margin_form |
mrp.bom | form | Inherits mrp.mrp_bom_form_view | |
view_mrp_bom_tree |
mrp.bom | tree | Inherits mrp.mrp_bom_tree_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (6)
-
currency_idMany2onerelated='product_tmpl_id.currency_id' -
diff_product_bom_standard_priceBooleancompute='_compute_diff_product_bom_standard_price'help="Technical field used to display or hide button 'Apply this cost to Product standard price' in the form view" -
product_margin_rateFloatrelated='product_tmpl_id.standard_margin_rate' -
product_sale_priceFloatrelated='product_tmpl_id.list_price'string='Product Sale Price' -
product_standard_priceFloatcompute='_compute_product_standard_price' -
standard_priceFloatcompute='_compute_standard_price'digits='Product Price'help='Calculated with raw components cost divided by the BoM quantity.'string='BoM Unit Cost'tracking=True
-
set_product_standard_price(self)
New fields (4)
-
currency_idMany2onerelated='product_id.currency_id' -
standard_price_subtotalFloatcompute='_compute_standard_price_subtotal'string='Subtotal price' -
standard_price_subtotal_percentageFloatcompute='_compute_standard_price_subtotal_percentage'digits=(16, 3)string='Subtotal price %' -
standard_price_unitFloatcompute='_compute_standard_price_unit'
No public methods.
New fields (1)
-
standard_priceFloattracking=True
No public methods.