MRP - BoM version
mrp_bom_version · OCA/manufacture
Health
68/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 9 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.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.53 MB
Module directory on disk
Code analysis
1 migration note
2 models
4 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE mrp_bom SET state = 'active' WHERE active = True` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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
MRP - BoM Version
This module provides a state in the BoM whether to allow their use in manufacturing.
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_version_form_view |
mrp.bom | form | Inherits mrp.mrp_bom_form_view | |
mrp_bom_version_search_view |
mrp.bom | search | Inherits mrp.view_mrp_bom_filter | |
mrp_bom_version_tree_view |
mrp.bom | list | Inherits mrp.mrp_bom_tree_view | |
mrp_config_settings_versioning |
res.config.settings | form | Inherits mrp.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (20)
-
activeBooleandefault=_default_activereadonly=True -
bom_line_idsOne2many -
byproduct_idsOne2many -
codeChar -
company_idMany2one -
consumptionSelection -
historical_dateDatecopy=Falsereadonly=True -
old_versionsMany2many → mrp.bomcomodel_name='mrp.bom'compute='_compute_old_versions' -
operation_idsOne2many -
picking_type_idMany2one -
previous_bom_idMany2one → mrp.bomcomodel_name='mrp.bom'copy=Falsestring='Previous BoM' -
product_idMany2one -
product_qtyFloat -
product_tmpl_idMany2one -
product_uom_idMany2one -
ready_to_produceSelection -
sequenceInteger -
stateSelectioncopy=Falsedefault=_default_stateindex=Truereadonly=Trueselection=[('draft', 'Draft'), ('active', 'Active'), ('historical', 'Historical')]string='Status' -
typeSelection -
versionIntegercopy=Falsedefault=1
-
button_activate(self) -
button_draft(self) -
button_historical(self) -
button_new_version(self) -
get_view(self, view_id=None, view_type='form', **options)@api.model -
search(self, args, offset=0, limit=None, order=None)@api.modelAdd search argument for field type if the context says so. This should be in old API because context argument is not the last one.
New fields (2)
-
active_draftBooleanconfig_parameter='mrp_bom_version.active_draft'help='This will allow you to define if those BoM passed back to draft are still activated or not'string='Keep re-editing BoM active' -
group_mrp_bom_versionBooleanhelp='The active state may be passed back to state draft'implied_group='mrp_bom_version.group_mrp_bom_version'string='Allow to re-edit BoMs'
No public methods.
Loading…
Loading…
Loading…