Skip to content
Health
48/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 102 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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.03 MB
Module directory on disk
Code analysis 9 migration notes 6 models 6 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form mrp.bom form Inherits mrp.mrp_bom_form_view
mrp_bom_tree_view mrp.bom.tree mrp.bom tree New
search_product_lot_filter stock.production.lot.filter stock.production.lot search Inherits stock.search_product_lot_filter
view_mrp_product_produce_wizard mrp.product.produce.form mrp.product.produce form Inherits mrp.view_mrp_product_produce_wizard
view_production_lot_form stock.production.lot.form stock.production.lot form Inherits stock.view_production_lot_form
view_production_lot_tree stock.production.lot.tree stock.production.lot tree Inherits stock.view_production_lot_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (1)
  • reference_id One2many → mrp.bom.reference
    string='BoM Reference' args: 'mrp.bom.reference', 'bom_id'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (4)
  • child_line_ids One2many
    compute='_get_child_bom_lines' relation='mrp.bom.line' string='BOM lines of the referred bom'
  • product_id Many2one → product.product
    required=True string='Product' args: 'product.product'
  • product_tmpl_id Many2one → product.template
    related='product_id.product_tmpl_id' store=True args: 'product.template', 'Product Template'
  • reference_id Many2one → mrp.bom.reference
    args: 'mrp.bom.reference', 'Ref'
Public methods (1)
  • onchange_product_id(self, product_id)
    @api.multi

New fields (2)
  • bom_id Many2one → mrp.bom
    ondelete='cascade' required=True string='Bill of Material' args: 'mrp.bom'
  • name Char
    related='bom_id.code' store=True
Public methods (0)

No public methods.

New fields (1)
  • bom_id Many2one → mrp.bom
    default=_get_default_bom_id readonly=True args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_produce(self, production_id, production_qty, production_mode, wiz=False)
    @api.model
    Affect the Bill of Material to each serial number related to the produced stocks

New fields (1)
  • bom_id Many2one → mrp.bom
    args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

Loading…

Loading…