TIP: You can type at any time to perform a new search.
MRP Components Operations
mrp_component_operation · OCA/manufacture
- Repository
- OCA/manufacture · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Manufacturing
- Folder size
- 0.09 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/manufacture
- Last tracking update
- 2026-08-07 08:22:58
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- Weblate, ThiagoMForgeFlow, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- mrp_component_operation_scrap_reason
- 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.
Code Analysis ⓘ
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…