Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 65 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 7.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
LGPL-3
No conflicts with its dependencies
Folder size
0.35 MB
Module directory on disk
Code analysis
2 migration notes
6 models
1 view
0 HTTP endpoints
Migration considerations
MrpProduction— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourcemrp_subproduct_view— 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. 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
This module allows you to produce several products from one production order.
You can configure by-products in the bill of material.
Without this module:
A + B + C -> D
With this module:
A + B + C -> D + E
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_subproduct_view |
mrp.bom.sub.product | mrp.bom | form | Inherits mrp.mrp_bom_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
sub_productsOne2many → mrp.subproductcopy=True args: 'mrp.subproduct', 'bom_id', 'Byproducts'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
check_finished_move_lots(self)@api.multiHandle by product tracked
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (5)
-
bom_idMany2one → mrp.bomondelete='cascade' args: 'mrp.bom', 'BoM' -
operation_idMany2one → mrp.routing.workcenterargs: 'mrp.routing.workcenter', 'Produced at Operation' -
product_idMany2one → product.productrequired=True args: 'product.product', 'Product' -
product_qtyFloatdefault=1.0digits=dp.get_precision('Product Unit of Measure')required=True args: 'Product Qty' -
product_uom_idMany2one → uom.uomrequired=True args: 'uom.uom', 'Unit of Measure'
-
onchange_product_id(self)@api.onchange('product_id')Changes UoM if product_id changes. -
onchange_uom(self)@api.onchange('product_uom_id')
New fields (1)
-
subproduct_idMany2one → mrp.subproducthelp='Subproduct line that generated the move in a manufacturing order' args: 'mrp.subproduct', 'Subproduct'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…