Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 14.0

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

Security findings
Grave / minor (static analysis)
Required by
3
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.16 MB
Module directory on disk
Code analysis 1 migration note 3 models 4 views 0 HTTP endpoints

Description

This module aims to ease the processing of Manufacturing Orders with the following characteristics:

  • The finished product is tracked by unique serial numbers.
  • The quantity to be produced is more than one unit.
  • Some of the components are tracked by serial numbers and/or lots.

Dependencies

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_production_form_view mrp.production.form - mrp_production_serial_matrix mrp.production form Inherits mrp.mrp_production_form_view
mrp_production_serial_matrix_view_form mrp.production.serial.matrix.form mrp.production.serial.matrix form New
mrp_production_serial_matrix_view_list mrp.production.serial.matrix.list mrp.production.serial.matrix tree New
mrp_production_serial_matrix_view_search mrp.production.serial.matrix.view.search mrp.production.serial.matrix search New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • show_serial_matrix Boolean
    compute='_compute_show_serial_matrix'
Public methods (1)
  • action_open_mrp_production_serial_matrix(self)

New fields (11)
  • company_id Many2one
    readonly=True related='production_id.company_id'
  • finished_lot_ids Many2many → stock.lot
    comodel_name='stock.lot' domain="[('product_id', '=', product_id)]" string='Finished Product Serial Numbers'
  • include_lots Boolean
    help='Include products tracked by Lots in matrix. Product tracket by serial numbers are always included.' string='Include Lots?'
  • line_ids One2many → mrp.production.serial.matrix.line
    comodel_name='mrp.production.serial.matrix.line' inverse_name='wizard_id' string='Matrix Cell'
  • lot_selection_warning_count Integer
    compute='_compute_lot_selection_warning'
  • lot_selection_warning_ids Many2many → stock.lot
    comodel_name='stock.lot' compute='_compute_lot_selection_warning'
  • lot_selection_warning_msg Char
    compute='_compute_lot_selection_warning'
  • product_id Many2one
    readonly=True related='production_id.product_id'
  • production_id Many2one → mrp.production
    comodel_name='mrp.production' ondelete='cascade' readonly=True string='Manufacturing Order'
  • production_state Selection
    related='production_id.state' string='MO Status'
  • state Selection
    copy=False default='draft' readonly=True required=True selection=[('draft', 'Draft'), ('in_progress', 'In Progress'), ('exception', 'Exception'), ('done', 'Done'), ('cancel', 'Cancelled')] string='Status' tracking=True
Public methods (6)
  • action_cancel_matrix(self)
  • action_reset_to_draft(self)
  • button_validate(self)
  • call_next_process_serial_matrix_lot(self, mos, lots_to_process=None, current_mo=False)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)

New fields (10)
  • allowed_component_lot_ids Many2many → stock.lot
    comodel_name='stock.lot' compute='_compute_allowed_component_lot_ids'
  • component_column_name Char
  • component_id Many2one → product.product
    comodel_name='product.product'
  • component_lot_id Many2one → stock.lot
    comodel_name='stock.lot' domain="[('id', 'in', allowed_component_lot_ids)]"
  • finished_lot_id Many2one → stock.lot
    comodel_name='stock.lot'
  • finished_lot_name Char
  • lot_qty Float
    digits='Product Unit of Measure'
  • production_id Many2one
    related='wizard_id.production_id'
  • state Selection
    related='wizard_id.state'
  • wizard_id Many2one → mrp.production.serial.matrix
    comodel_name='mrp.production.serial.matrix'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…