Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.1
Category
Manufacturing
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 07:31:54
Authors
Odoo Community Association (OCA), ABF OSIELL
Maintainers
Odoo Community Association (OCA), ABF OSIELL
Committers
Holger Brunn, Weblate, OCA-git-bot, oca-travis, Adrià Gil Sorribes
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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_id Many2one → mrp.bom
    domain=_func_domain_bom_id required=True args: 'mrp.bom', 'BoM v1'
  • bom2_id Many2one → mrp.bom
    domain=_func_domain_bom_id required=True args: 'mrp.bom', 'BoM v2'
  • line_added_ids One2many → wizard.mrp.bom.comparison.line
    domain=[('state', '=', 'added')] args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Products added'
  • line_changed_ids One2many → wizard.mrp.bom.comparison.line
    domain=[('state', '=', 'changed')] args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Products updated'
  • line_ids One2many → wizard.mrp.bom.comparison.line
    args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Differences'
  • line_removed_ids One2many → wizard.mrp.bom.comparison.line
    domain=[('state', '=', 'removed')] args: 'wizard.mrp.bom.comparison.line', 'wiz_id', 'Products removed'
  • total_qty Float
    compute='_compute_total_qty' digits=dp.get_precision('Product Unit of Measure') args: 'Total qty'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
    'default_get' method overridden.
  • run(self)
    @api.multi
    Make a comparison between two BoMs. :return: a report

New fields (6)
  • bom1_qty Float
    digits=dp.get_precision('Product Unit of Measure') args: 'v1-Qty'
  • bom2_qty Float
    digits=dp.get_precision('Product Unit of Measure') args: 'v2-Qty'
  • diff_qty Float
    digits=dp.get_precision('Product Unit of Measure') args: 'Qty gap'
  • product_id Many2one → product.product
    args: 'product.product', 'Product'
  • state Selection
    args: [('changed', 'Changed'), ('added', 'Added'), ('removed', 'Removed')], 'State'
  • wiz_id Many2one → wizard.mrp.bom.comparison
    args: 'wizard.mrp.bom.comparison', 'Wizard'
Public methods (0)

No public methods.

Loading…