Bill of Materials comparison
mrp_bom_comparison · OCA/manufacture
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 50 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 10.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.07 MB
Module directory on disk
Code analysis
1 migration note
2 models
2 views
0 HTTP endpoints
Migration considerations
WizardMrpBomComparison— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_mrp_bom_comparison |
report_mrp_bom_comparison | ir.ui.view | qweb | New |
view_wizard_bom_comparison_form |
Compare Bill of Materials | wizard.mrp.bom.comparison | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (7)
-
bom1_idMany2one → mrp.bomdomain=_func_domain_bom_idrequired=True args: 'mrp.bom', 'BoM v1' -
bom2_idMany2one → mrp.bomdomain=_func_domain_bom_idrequired=True args: 'mrp.bom', 'BoM v2' -
line_added_idsOne2many → wizard.mrp.bom.comparison.linedomain=[('state', '=', 'added')] args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Products added' -
line_changed_idsOne2many → wizard.mrp.bom.comparison.linedomain=[('state', '=', 'changed')] args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Products updated' -
line_idsOne2many → wizard.mrp.bom.comparison.lineargs: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Differences' -
line_removed_idsOne2many → wizard.mrp.bom.comparison.linedomain=[('state', '=', 'removed')] args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Products removed' -
total_qtyFloatcompute='_compute_total_qty'digits=dp.get_precision('Product Unit of Measure') args: 'Total qty'
-
default_get(self, fields_list)@api.model'default_get' method overridden. -
run(self)@api.multiMake a comparison between two BoMs. :return: a report
New fields (6)
-
bom1_qtyFloatdigits=dp.get_precision('Product Unit of Measure') args: 'v1-Qty' -
bom2_qtyFloatdigits=dp.get_precision('Product Unit of Measure') args: 'v2-Qty' -
diff_qtyFloatdigits=dp.get_precision('Product Unit of Measure') args: 'Qty gap' -
product_idMany2one → product.productargs: 'product.product', 'Product' -
stateSelectionargs: [('changed', 'Changed'), ('added', 'Added'), ('removed', 'Removed')], 'State' -
wiz_idMany2one → wizard.mrp.bom.comparisonargs: 'wizard.mrp.bom.comparison', 'Wizard'
No public methods.
Loading…