Repository
OCA/manufacture · module folder · Try on Runboat
Module version
2.1.1
Category
Manufacturing
Folder size
0.14 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 08:22:58
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
ArnauCForgeFlow, Weblate, OCA-git-bot, oca-ci, DavidJForgeFlow
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
mrp_production_serial_matrix_import_xlsx, mrp_production_serial_matrix_queue_job, mrp_production_serial_matrix_subcontracting
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.

Code Analysis

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…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
175 days ago
Last activity
107 days ago
Repository
OCA/manufacture
Pull request
[MIG] mrp_production_serial_matrix: Migration to 18.0 (#1742)