Product Configurator Manufacturing
product_configurator_mrp · OCA/product-configurator
Health
60/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 20 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.11 MB
Module directory on disk
Code analysis
0 migration notes
7 models
4 views
0 HTTP endpoints
Description
Product Configurator wizard available on Manufacturing Orders.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_bom_form_view |
product.config.mrp.bom.form.view | mrp.bom | form | Inherits mrp.mrp_bom_form_view |
mrp_bom_line_config_set_form_view |
mrp.bom.line.configuration.set.form.view | mrp.bom.line.configuration.set | form | New |
mrp_bom_line_config_set_tree_view |
mrp.bom.line.configuration.set.tree.view | mrp.bom.line.configuration.set | list | New |
mrp_production_form_view_config |
product.config.mrp.form.view | mrp.production | form | Inherits mrp.mrp_production_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (1)
-
config_okBooleanreadonly=Truerelated='product_tmpl_id.config_ok'store=Truestring='Configurable'
No public methods.
New fields (1)
-
config_set_idMany2one → mrp.bom.line.configuration.setcomodel_name='mrp.bom.line.configuration.set'string='Configuration Set'
No public methods.
New fields (2)
-
config_set_idMany2one → mrp.bom.line.configuration.setcomodel_name='mrp.bom.line.configuration.set'ondelete='cascade'required=True -
value_idsMany2many → product.attribute.valuecomodel_name='product.attribute.value'required=Truestring='Attribute Values'
No public methods.
New fields (3)
-
bom_line_idsOne2many → mrp.bom.linecomodel_name='mrp.bom.line'inverse_name='config_set_id'readonly=Truestring='BoM Lines' -
configuration_idsOne2many → mrp.bom.line.configurationcomodel_name='mrp.bom.line.configuration'inverse_name='config_set_id'string='Configurations' -
nameCharrequired=Truestring='Configuration'
No public methods.
New fields (3)
-
config_okBooleanreadonly=Truerelated='product_id.config_ok'store=Truestring='Configurable' -
config_session_idMany2one → product.config.sessioncomodel_name='product.config.session'string='Config Session' -
custom_value_idsOne2many → product.config.session.custom.valuecomodel_name='product.config.session.custom.value'inverse_name='cfg_session_id'related='config_session_id.custom_value_ids'string='Custom Values'
-
action_config_start(self)@api.modelReturn action to start configuration wizard -
reconfigure_product(self)Creates and launches a product configurator wizard with a linked template and variant in order to re-configure a existing product. It is esetially a shortcut to pre-fill configuration data of a variant
New fields (0)
No new fields.
Public methods (3)-
create_get_bom(self, variant, product_tmpl_id=None, values=None) -
create_get_variant(self, value_ids=None, custom_vals=None) -
sanitized_spec(self, specs)New method to sanitize the specifications by removing invalid entries fix the onchange issue. In 'get_onchange_specifications()', all the fields of the model view are retrieved, and their values are returned as "field_name.value", causing issues in the BOM onchange values.
New fields (1)
-
order_idMany2one → mrp.productioncomodel_name='mrp.production'string='Manufacturing Order'
-
action_config_done(self)Parse values and execute final code before closing the wizard -
get_mrp_production_action(self)
Loading…
Loading…