Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 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.53 MB
Module directory on disk
Code analysis 1 migration note 2 models 4 views 0 HTTP endpoints

Description

MRP - BoM Version

This module provides a state in the BoM whether to allow their use in manufacturing.

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 4

XML IDNameModelTypeStatus
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)
  • active Boolean
    default=_default_active readonly=True
  • bom_line_ids One2many
  • byproduct_ids One2many
  • code Char
  • company_id Many2one
  • consumption Selection
  • historical_date Date
    copy=False readonly=True
  • old_versions Many2many → mrp.bom
    comodel_name='mrp.bom' compute='_compute_old_versions'
  • operation_ids One2many
  • picking_type_id Many2one
  • previous_bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' copy=False string='Previous BoM'
  • product_id Many2one
  • product_qty Float
  • product_tmpl_id Many2one
  • product_uom_id Many2one
  • ready_to_produce Selection
  • sequence Integer
  • state Selection
    copy=False default=_default_state index=True readonly=True selection=[('draft', 'Draft'), ('active', 'Active'), ('historical', 'Historical')] string='Status'
  • type Selection
  • version Integer
    copy=False default=1
Public methods (6)
  • 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.model
    Add 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_draft Boolean
    config_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_version Boolean
    help='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'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…