Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 11 Odoo series since 9.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.08 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

This modules extend the Manufacturing App adding a report that explodes the bill of materials and show the stock available in the source location.

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 3

XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', '=', 'consu')]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' readonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' readonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…