MRP Components Operations
mrp_component_operation · OCA/manufacture
Health
64/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 22 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.09 MB
Module directory on disk
Code analysis
1 migration note
4 models
6 views
0 HTTP endpoints
Migration considerations
view_mrp_component_operation_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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 to operate the components from a MO, being able to move it to another location or making an scrap and take another from a desired location and link it to the current MO.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_production_form_view |
mrp.production.form | mrp.production | form | Inherits mrp.mrp_production_form_view |
stock_location_route_form_view_inherit_mrp_component |
stock.route.form - mrp.component | stock.route | form | Inherits stock.stock_location_route_form_view |
view_mrp_component_operate_form |
view_mrp_component_operate_form | mrp.component.operate | form | New |
view_mrp_component_operation_form |
view_mrp_component_operation_form | mrp.component.operation | form | New |
view_mrp_component_operation_search |
mrp.component.operation.search | mrp.component.operation | search | New |
view_mrp_component_operation_tree |
view_mrp_component_operation_tree | mrp.component.operation | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (9)
-
incoming_operationSelectionrelated='operation_id.incoming_operation'required=True -
lot_idMany2one → stock.lotargs: 'stock.lot' -
mo_idMany2one → mrp.productionondelete='cascade'required=True args: 'mrp.production' -
operation_idMany2one → mrp.component.operationdomain="['|',('picking_type_id', '=', picking_type_id), ('picking_type_id', '=', False)]"required=True args: 'mrp.component.operation' -
outgoing_operationSelectionrelated='operation_id.outgoing_operation'required=True -
picking_type_idMany2one → stock.picking.typeargs: 'stock.picking.type', 'Operation Type' -
product_idMany2one → product.productrequired=True args: 'product.product' -
product_qtyFloatdefault=1.0digits='Product Unit of Measure'required=True args: 'Quantity' -
trackingSelectionreadonly=Truerelated='product_id.tracking'string='Product Tracking'
-
action_operate_component(self)
New fields (11)
-
activeBooleandefault=True -
destination_location_idMany2one → stock.locationhelp='The Location where the components are going to be transferred.' args: 'stock.location', 'Destination Location' -
destination_route_idMany2one → stock.routecomodel_name='stock.route'domain=[('mo_component_selectable', '=', True)]help='The Route used to transfer the components to the destination location.'string='Destination Route' -
incoming_operationSelectiondefault='no'required=Trueselection=[('no', 'No'), ('replace', 'Pick Component from Source Route')] -
manufacture_location_idMany2one → stock.locationhelp='The Location where the components are.' args: 'stock.location', 'Manufacture Location' -
nameCharhelp='Component Operation Reference'required=True -
outgoing_operationSelectiondefault='no'required=Trueselection=[('no', 'No'), ('move', 'Move to Destination Location'), ('scrap', 'Make a Scrap')] -
picking_type_idMany2one → stock.picking.typedomain="[('code', '=', 'mrp_operation')]" args: 'stock.picking.type', 'Operation Type' -
scrap_location_idMany2one → stock.locationargs: 'stock.location', 'Scrap Location' -
sequenceIntegerhelp='Gives the sequence order when displaying the list of component operations' -
source_route_idMany2one → stock.routecomodel_name='stock.route'domain=[('mo_component_selectable', '=', True)]help='The Route used to pick the components.'string='Source Route'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
button_operate_components(self)
New fields (1)
-
mo_component_selectableBooleanstring='Selectable on MO Components'
No public methods.
Loading…